]> git.sur5r.net Git - i3/i3/blobdiff - src/move.c
Handle the EWMH atom _NET_WM_DESKTOP.
[i3/i3] / src / move.c
index bd228a1cc19a19692f48e3f3dd7fb9b6c920f39a..87f78ee3f370abbb883731c76e6dc3d3f1d78b06 100644 (file)
@@ -206,6 +206,7 @@ void tree_move(Con *con, int direction) {
 
                 DLOG("Swapped.\n");
                 ipc_send_window_event("move", con);
+                ewmh_update_wm_desktop();
                 return;
             }
 
@@ -214,6 +215,7 @@ void tree_move(Con *con, int direction) {
                  *  try to move it to a workspace on a different output */
                 move_to_output_directed(con, direction);
                 ipc_send_window_event("move", con);
+                ewmh_update_wm_desktop();
                 return;
             }
 
@@ -274,4 +276,5 @@ end:
 
     tree_flatten(croot);
     ipc_send_window_event("move", con);
+    ewmh_update_wm_desktop();
 }