Add a focus debug message for the frame's visible focus state
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
openbox/frame.c
→
openbox/frame.c
@@ -23,6 +23,7 @@ #include "openbox.h"
#include "extensions.h" #include "prop.h" #include "grab.h" +#include "debug.h" #include "config.h" #include "framerender.h" #include "mainloop.h"@@ -948,6 +949,9 @@ }
void frame_adjust_focus(ObFrame *self, gboolean hilite) { + ob_debug_type(OB_DEBUG_FOCUS, + "Frame for 0x%x has focus: %d\n", + self->client->window, hilite); self->focused = hilite; self->need_render = TRUE; framerender_frame(self);