[mutter] clutter: Add special event flag for events that went through an IM



commit 8c988aa6329eb2a50ed54306144ca092aaddee89
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Dec 6 12:46:21 2017 +0100

    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 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/clutter/clutter/clutter-enums.h b/clutter/clutter/clutter-enums.h
index 38a142d..a0450a5 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;
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]