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, 1 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c
index c8356be1..f276a079 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -471,8 +471,8 @@ static void event_process(const XEvent *ec, gpointer data)
focus_fallback(TRUE);
} else if (client && client != focus_client) {
frame_adjust_focus(client->frame, TRUE);
- client_calc_layer(client);
focus_set_client(client);
+ client_calc_layer(client);
}
} else if (e->type == FocusOut) {
gboolean nomove = FALSE;