all repos — openbox @ 15fb1bde546d14a65cc5ec871b796f45e964172e

openbox fork - make it a bit more like ryudo

remove some debug prints
Dana Jansens danakj@orodu.net
commit

15fb1bde546d14a65cc5ec871b796f45e964172e

parent

0ba396fea03de6181a0eea737d24c6bf2190dde9

1 files changed, 0 insertions(+), 5 deletions(-)

jump to
M openbox/event.copenbox/event.c

@@ -1875,11 +1875,9 @@ r = g_new(ObSerialRange, 1);

r->start = start; r->end = LastKnownRequestProcessed(ob_display); ignore_serials = g_slist_prepend(ignore_serials, r); - ob_debug("ignoring serials %u-%u\n", r->start, r->end); /* increment the serial so we don't ignore events we weren't meant to */ XSync(ob_display, FALSE); - ob_debug("now last serial %u\n", LastKnownRequestProcessed(ob_display)); } static gboolean is_enter_focus_event_ignored(XEvent *e)

@@ -1891,14 +1889,11 @@ !(e->xcrossing.mode == NotifyGrab ||

e->xcrossing.mode == NotifyUngrab || e->xcrossing.detail == NotifyInferior)); - ob_debug("checking serial %u\n", e->xany.serial); for (it = ignore_serials; it; it = next) { ObSerialRange *r = it->data; next = g_slist_next(it); - /* XXX wraparound... */ - ob_debug(" ignore range %u-%u\n", r->start, r->end); if ((glong)(e->xany.serial - r->end) > 0) { /* past the end */ ignore_serials = g_slist_delete_link(ignore_serials, it);