summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/event.c b/openbox/event.c
index a75cd1ec..2d548d9e 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -368,8 +368,10 @@ static void event_handle_client(Client *client, XEvent *e)
case FocusIn:
focus_set_client(client);
case FocusOut:
+#ifdef DEBUG_FOCUS
g_message("Focus%s on client for %lx", (e->type==FocusIn?"In":"Out"),
client->window);
+#endif
/* focus state can affect the stacking layer */
client_calc_layer(client);
engine_frame_adjust_focus(client->frame);