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