summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-10-03 04:20:23 +0000
committerDana Jansens <danakj@orodu.net>2003-10-03 04:20:23 +0000
commite2f3c002248193d800941500c66e7b4c69b26a10 (patch)
treefb5aa925b0401a78b94dc8ee61d150e89f40e930 /openbox
parentcd4377366c863e9d14717d80f8f60ef42a2f2db6 (diff)
remove debug prints
Diffstat (limited to 'openbox')
-rw-r--r--openbox/event.c8
-rw-r--r--openbox/grab.c4
2 files changed, 1 insertions, 11 deletions
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;
}