From e304a519d0d1971716cf1dfacb30b0469cada2e4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 6 Mar 2020 21:52:47 +0100 Subject: Move puglSetEventFunc() to init group --- pugl/pugl.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pugl/pugl.h b/pugl/pugl.h index 6a8a236..bc168d6 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -591,6 +591,12 @@ puglSetHandle(PuglView* view, PuglHandle handle); PUGL_API PuglHandle puglGetHandle(PuglView* view); +/** + Set the function to call when an event occurs. +*/ +PUGL_API PuglStatus +puglSetEventFunc(PuglView* view, PuglEventFunc eventFunc); + /** Set a hint to configure window properties. @@ -782,12 +788,6 @@ puglPostRedisplayRect(PuglView* view, PuglRect rect); @{ */ -/** - Set the function to call when an event occurs. -*/ -PUGL_API PuglStatus -puglSetEventFunc(PuglView* view, PuglEventFunc eventFunc); - /** Grab the input focus. */ -- cgit v1.2.1