diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-12-20 13:40:31 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-12-27 22:56:03 +0100 |
commit | 9aa36d8d0dad30c490b7807951e806fd105c7bca (patch) | |
tree | e37dce311d34562d76822c5e70d8abd9a6dec2a8 /gdk/broadway/broadway-protocol.h | |
parent | 95a0c055da98e7718dc875e2b52f7feefed4140b (diff) | |
download | gtk+-9aa36d8d0dad30c490b7807951e806fd105c7bca.tar.gz |
broadway: Add enum for even types
Diffstat (limited to 'gdk/broadway/broadway-protocol.h')
-rw-r--r-- | gdk/broadway/broadway-protocol.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gdk/broadway/broadway-protocol.h b/gdk/broadway/broadway-protocol.h index 8fd13699c8..9104a8a2e0 100644 --- a/gdk/broadway/broadway-protocol.h +++ b/gdk/broadway/broadway-protocol.h @@ -3,6 +3,22 @@ #include <glib.h> +typedef enum { + BROADWAY_EVENT_ENTER = 'e', + BROADWAY_EVENT_LEAVE = 'l', + BROADWAY_EVENT_POINTER_MOVE = 'm', + BROADWAY_EVENT_BUTTON_PRESS = 'b', + BROADWAY_EVENT_BUTTON_RELEASE = 'B', + BROADWAY_EVENT_SCROLL = 's', + BROADWAY_EVENT_KEY_PRESS = 'k', + BROADWAY_EVENT_KEY_RELEASE = 'K', + BROADWAY_EVENT_GRAB_NOTIFY = 'g', + BROADWAY_EVENT_UNGRAB_NOTIFY = 'u', + BROADWAY_EVENT_CONFIGURE_NOTIFY = 'w', + BROADWAY_EVENT_DELETE_NOTIFY = 'W', + BROADWAY_EVENT_SCREEN_SIZE_CHANGED = 'd' +} BroadwayEventType; + typedef struct { guint8 type; guint32 serial; |