From 294c0f7d89b206612634978e3df166ce532a1118 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 5 Jul 2020 11:53:19 +0200 Subject: Replace grab flag in PuglEventFocus with crossing mode --- pugl/pugl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pugl/pugl.h') diff --git a/pugl/pugl.h b/pugl/pugl.h index 13d8801..137e6d1 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -352,9 +352,9 @@ typedef PuglEventAny PuglEventClose; view with the keyboard focus will receive any key press or release events. */ typedef struct { - PuglEventType type; ///< #PUGL_FOCUS_IN or #PUGL_FOCUS_OUT - PuglEventFlags flags; ///< Bitwise OR of #PuglEventFlag values - bool grab; ///< True iff this is a grab/ungrab event + PuglEventType type; ///< #PUGL_FOCUS_IN or #PUGL_FOCUS_OUT + PuglEventFlags flags; ///< Bitwise OR of #PuglEventFlag values + PuglCrossingMode mode; ///< Reason for focus change } PuglEventFocus; /** -- cgit v1.2.1