]> Dogcows Code - chaz/openbox/commitdiff
remove debug prints
authorDana Jansens <danakj@orodu.net>
Fri, 3 Oct 2003 04:20:23 +0000 (04:20 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 3 Oct 2003 04:20:23 +0000 (04:20 +0000)
openbox/event.c
openbox/grab.c

index cc72647412841ecf475207b5a45e8bc60fd079e0..9d82a51d2e4364cea03fd0b7d9192f782caf7b9f 100644 (file)
@@ -1198,8 +1198,6 @@ void event_ignore_queued_enters()
                 
     XSync(ob_display, FALSE);
 
-    ob_debug("Trying to ignore\n");
-
     /* count the events */
     while (TRUE) {
         e = g_new(XEvent, 1);
@@ -1207,12 +1205,8 @@ void event_ignore_queued_enters()
             ObWindow *win;
             
             win = g_hash_table_lookup(window_map, &e->xany.window);
-            if (win && WINDOW_IS_CLIENT(win)) {
-                ob_debug("skipping enter event on 0x%lx\n", e->xany.window);
+            if (win && WINDOW_IS_CLIENT(win))
                 ++ignore_enter_focus;
-            } else
-                ob_debug("NOT skipping enter event on 0x%lx\n",
-                         e->xany.window);
             
             saved = g_slist_append(saved, e);
         } else {
index 31d8494a660869e71d84092e550493cb5ea2bdbe..e2784a2d3d578a46e235b07121fad6df33a3ebf3 100644 (file)
@@ -77,7 +77,6 @@ gboolean grab_pointer(gboolean grab, ObCursor cur)
                                False, GRAB_PTR_MASK, GrabModeAsync,
                                GrabModeAsync, FALSE,
                                ob_cursor(cur), event_lasttime) == Success;
-            ob_debug("GRABBING\n");
             if (!ret)
                 --pgrabs;
         } else
@@ -85,9 +84,6 @@ gboolean grab_pointer(gboolean grab, ObCursor cur)
     } else if (pgrabs > 0) {
         if (--pgrabs == 0) {
             XUngrabPointer(ob_display, event_lasttime);
-
-            ob_debug("UNGRABBING\n");
-            event_ignore_queued_enters();
         }
         ret = TRUE;
     }
This page took 0.026178 seconds and 4 git commands to generate.