From 8c988aa6329eb2a50ed54306144ca092aaddee89 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 6 Dec 2017 12:46:21 +0100 Subject: [PATCH] clutter: Add special event flag for events that went through an IM This will be useful to let Clutter know whether those should be or have already been dispatched through an input method. --- clutter/clutter/clutter-enums.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clutter/clutter/clutter-enums.h b/clutter/clutter/clutter-enums.h index 38a142d0f..a0450a5af 100644 --- a/clutter/clutter/clutter-enums.h +++ b/clutter/clutter/clutter-enums.h @@ -767,8 +767,9 @@ typedef enum { /*< prefix=CLUTTER_DRAG >*/ * Since: 0.6 */ typedef enum { /*< flags prefix=CLUTTER_EVENT >*/ - CLUTTER_EVENT_NONE = 0, - CLUTTER_EVENT_FLAG_SYNTHETIC = 1 << 0 + CLUTTER_EVENT_NONE = 0, + CLUTTER_EVENT_FLAG_SYNTHETIC = 1 << 0, + CLUTTER_EVENT_FLAG_INPUT_METHOD = 1 << 1 } ClutterEventFlags; /**