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.
This commit is contained in:
Carlos Garnacho 2017-12-06 12:46:21 +01:00
parent 798026498d
commit 3483cc8831

View File

@ -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;
/**