]> Dogcows Code - chaz/openbox/commitdiff
rm debug prints
authorDana Jansens <danakj@orodu.net>
Mon, 7 Apr 2003 22:25:33 +0000 (22:25 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 7 Apr 2003 22:25:33 +0000 (22:25 +0000)
openbox/grab.c

index 5e6209e0561cb7dc70326328e6e0148d73910d12..97a1a3db2acb631f86351fc16b59bbd64b5ced48 100644 (file)
@@ -15,18 +15,12 @@ static unsigned int mask_list[MASK_LIST_SIZE];
 void grab_keyboard(gboolean grab)
 {
     if (grab) {
-        if (kgrabs++ == 0) {
-            g_message("GRABBING KEYBOARD %d", kgrabs);
+        if (kgrabs++ == 0)
             XGrabKeyboard(ob_display, ob_root, 0, GrabModeAsync, GrabModeSync,
                           event_lasttime);
-        } else
-            g_message("NOT GRABBING KEYBOARD %d", kgrabs);
     } else if (kgrabs > 0) {
-        if (--kgrabs == 0) {
-            g_message("UNGRABBING KEYBOARD %d", kgrabs);
+        if (--kgrabs == 0)
             XUngrabKeyboard(ob_display, event_lasttime);
-        } else
-            g_message("NOT UNGRABBING KEYBOARD %d", kgrabs);
     }
 }
 
This page took 0.023164 seconds and 4 git commands to generate.