projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
36af6f8
)
Add a focus debug message for the frame's visible focus state
author
Dana Jansens
<danakj@orodu.net>
Wed, 9 Dec 2009 18:22:37 +0000
(13:22 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 9 Dec 2009 18:24:04 +0000
(13:24 -0500)
openbox/frame.c
patch
|
blob
|
history
diff --git
a/openbox/frame.c
b/openbox/frame.c
index
df53f3c
..
20697d3
100644
(file)
--- a/
openbox/frame.c
+++ b/
openbox/frame.c
@@
-23,6
+23,7
@@
#include "extensions.h"
#include "prop.h"
#include "grab.h"
#include "extensions.h"
#include "prop.h"
#include "grab.h"
+#include "debug.h"
#include "config.h"
#include "framerender.h"
#include "mainloop.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)
{
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);
self->focused = hilite;
self->need_render = TRUE;
framerender_frame(self);