]> git.sur5r.net Git - i3/i3/commitdiff
Ensure that the focus is set correctly when moving floating clients
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 23 Jun 2009 22:35:05 +0000 (00:35 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 23 Jun 2009 22:35:05 +0000 (00:35 +0200)
src/commands.c

index b8a2857392f51c76e4ca29fd454106fd61af1aaa..ff682bd5ed35b20dec55c0bfa3ee64bd92f213b4 100644 (file)
@@ -489,6 +489,8 @@ static void move_floating_window_to_workspace(xcb_connection_t *conn, Client *cl
         LOG("done\n");
 
         render_layout(conn);
+
+        set_focus(conn, client, true);
 }
 
 /*