aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-05 11:53:19 +0200
committerDavid Robillard <d@drobilla.net>2020-07-05 16:22:16 +0200
commit294c0f7d89b206612634978e3df166ce532a1118 (patch)
tree35e37daf6cb29281ce1f24ff6b06b08e4700be70 /pugl/pugl.h
parenteac255d8dac99bc25140c8c0a81cad5926ebdefd (diff)
downloadpugl-294c0f7d89b206612634978e3df166ce532a1118.tar.gz
pugl-294c0f7d89b206612634978e3df166ce532a1118.tar.bz2
pugl-294c0f7d89b206612634978e3df166ce532a1118.zip
Replace grab flag in PuglEventFocus with crossing mode
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h6
1 files changed, 3 insertions, 3 deletions
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;
/**