From 6aa2dbd555ca4d659acbebffabe28bf648eed32d Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 16 Jul 2009 16:14:01 +1000 Subject: Print XINotifyPassiveGrab detail in enter events too. --- src/test_xi2.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) { -- cgit v1.2.3