diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-28 08:20:37 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-28 14:47:49 +1000 |
commit | 6b61bef5da91ca24d1bfcf9d314b8b8587c3e4fc (patch) | |
tree | 04bd15aa72268837474cbea453120c4908617182 /XI2.h | |
parent | 1b2dc24bf51a325ea3fafb46768467675b00be52 (diff) |
Mirror the core enter/focus modes and add the passive grab mode.
If an enter/focus grabs activates (or deactivates), send an extra set of
enter/focus in (or leave/focus out) events to the grabbing client with mode
XIPassiveGrabNotify.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'XI2.h')
-rw-r--r-- | XI2.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -33,6 +33,14 @@ #define XIPropertyCreated 1 #define XIPropertyModified 2 +/* Enter/Leave and Focus In/Out modes */ +#define XINotifyNormal 0 +#define XINotifyGrab 1 +#define XINotifyUngrab 2 +#define XINotifyWhileGrabbed 3 +#define XINotifyPassiveGrab 4 +#define XINotifyPassiveUngrab 5 + /* Passive grab types */ #define XIGrabtypeButton 0 #define XIGrabtypeKeysym 1 |