]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
a) set the focus client before calculating its layer
[chaz/openbox] / openbox / event.c
index c8356be1744aa1c059eb8e69b4a17c0d017b3e80..f276a07921f8c66a0f8d223078cdb43f97cb80cb 100644 (file)
@@ -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;
This page took 0.019981 seconds and 4 git commands to generate.