]> git.sur5r.net Git - i3/i3/blobdiff - src/tree.c
Call all ewmh_update_* functions together when necessary
[i3/i3] / src / tree.c
index 5023e89461d0079169804cd0f100dff01828d31a..4057d177b60246f9bcf60b609ce692ba8a13431e 100644 (file)
@@ -300,10 +300,8 @@ bool tree_close_internal(Con *con, kill_window_t kill_window, bool dont_kill_par
     x_con_kill(con);
 
     if (ws == con) {
-        DLOG("Closing a workspace container, updating EWMH atoms\n");
-        ewmh_update_number_of_desktops();
-        ewmh_update_desktop_names();
-        ewmh_update_wm_desktop();
+        DLOG("Closing workspace container %s, updating EWMH atoms\n", ws->name);
+        ewmh_update_desktop_properties();
     }
 
     con_free(con);