From: Dana Jansens Date: Fri, 3 Oct 2003 04:20:23 +0000 (+0000) Subject: remove debug prints X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=e2f3c002248193d800941500c66e7b4c69b26a10;p=chaz%2Fopenbox remove debug prints --- diff --git a/openbox/event.c b/openbox/event.c index cc726474..9d82a51d 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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 { diff --git a/openbox/grab.c b/openbox/grab.c index 31d8494a..e2784a2d 100644 --- a/openbox/grab.c +++ b/openbox/grab.c @@ -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; }