]> diplodocus.org Git - xorg-xinput/commitdiff
Print XINotifyPassiveGrab detail in enter events too.
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 16 Jul 2009 06:14:01 +0000 (16:14 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 16 Jul 2009 06:14:01 +0000 (16:14 +1000)
src/test_xi2.c

index 6466a17882a28d1628550da2d929eadc6ffb086f..6dab0dc8a43e75eae4de1d638eaee9e58410673d 100644 (file)
@@ -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)
     {