all repos — openbox @ a9ff8217bf24a6c8f2e8e013b97a283df9910f39

openbox fork - make it a bit more like ryudo

debug prints improved
Dana Jansens danakj@orodu.net
commit

a9ff8217bf24a6c8f2e8e013b97a283df9910f39

parent

547da2733235d9517e9ea2bdca7c3e38fe719c4f

1 files changed, 4 insertions(+), 3 deletions(-)

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

@@ -277,7 +277,7 @@ }

XFree(wmhint); } - ob_debug("Managing window: %lx\n", window); + ob_debug("Managing window: 0x%lx\n", window); /* choose the events we want to receive on the CLIENT window */ attrib_set.event_mask = CLIENT_EVENTMASK;

@@ -3463,8 +3463,8 @@ return FALSE;

} ob_debug_type(OB_DEBUG_FOCUS, - "Focusing client \"%s\" at time %u\n", - self->title, event_curtime); + "Focusing client \"%s\" (0x%x) at time %u\n", + self->title, self->window, event_curtime); /* if there is a grab going on, then we need to cancel it. if we move focus during the grab, applications will get NotifyWhileGrabbed events

@@ -3502,6 +3502,7 @@ }

xerror_set_ignore(FALSE); + ob_debug_type(OB_DEBUG_FOCUS, "Error focusing? %d\n", xerror_occured); return !xerror_occured; }