diff options
| author | Dana Jansens <danakj@orodu.net> | 2009-12-09 13:22:37 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2009-12-09 13:24:04 -0500 |
| commit | 5b20b3fc7fbfc76ce36f33e98c8a0467fa204ec5 (patch) | |
| tree | 78ab8b63a343f0218ca6577f1e628f68c663d30c /openbox | |
| parent | 36af6f8d968eb53a836b9db1d64f007e3ffca271 (diff) | |
Add a focus debug message for the frame's visible focus state
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/frame.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/frame.c b/openbox/frame.c index df53f3c2..20697d32 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -23,6 +23,7 @@ #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_state(ObFrame *self) 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); |
