summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-07-16 16:14:01 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-16 16:14:01 +1000
commit6aa2dbd555ca4d659acbebffabe28bf648eed32d (patch)
treefc751ed8199f2c52888fc6b1d2c94fed0a6d909a /src
parentb6949c809c69d824fa5fdb2825f045ed716237d8 (diff)
Print XINotifyPassiveGrab detail in enter events too.
Diffstat (limited to 'src')
-rw-r--r--src/test_xi2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test_xi2.c b/src/test_xi2.c
index 6466a17..6dab0dc 100644
--- a/src/test_xi2.c
+++ b/src/test_xi2.c
@@ -161,6 +161,8 @@ static void print_enterleave(XILeaveEvent* event)
case XINotifyGrab: mode = "NotifyGrab"; break;
case XINotifyUngrab: mode = "NotifyUngrab"; break;
case XINotifyWhileGrabbed: mode = "NotifyWhileGrabbed"; break;
+ case XINotifyPassiveGrab: mode = "NotifyPassiveGrab"; break;
+ case XINotifyPassiveUngrab:mode = "NotifyPassiveUngrab"; break;
}
switch (event->detail)
{