]> git.sur5r.net Git - i3/i3/commitdiff
Don't ignore focus on _NET_WM_DESKTOP client messages. 2172/head
authorIngo Bürk <ingo.buerk@tngtech.com>
Fri, 22 Jan 2016 19:32:51 +0000 (20:32 +0100)
committerIngo Bürk <ingo.buerk@tngtech.com>
Fri, 22 Jan 2016 19:32:51 +0000 (20:32 +0100)
Ignoring the focus leads to a broken focus if the pointer is, e.g.,
over i3bar at the point in time the window is moved by the client
message. It also causes i3bar's workspace display to break.

Thanks to GermainZ for reporting.

src/handlers.c

index 50e218c80edc3734c6808058a4015072ce24d4a7..7e116ce70fc64f8c28f18797bc71ce5cf38ae7d1 100644 (file)
@@ -881,7 +881,7 @@ static void handle_client_message(xcb_client_message_event_t *event) {
                 return;
             }
 
-            con_move_to_workspace(con, ws, false, false, true);
+            con_move_to_workspace(con, ws, true, false, false);
         }
 
         tree_render();