]> git.sur5r.net Git - i3/i3/blobdiff - src/main.c
Call all ewmh_update_* functions together when necessary
[i3/i3] / src / main.c
index 3ebdbf0cc0a2667f4cc4bf9c98e85d59fa8a1b90..9f69834fdc5bf1db6a586a272c8a0112ed5f6261 100644 (file)
@@ -852,10 +852,7 @@ int main(int argc, char *argv[]) {
     ewmh_update_workarea();
 
     /* Set the ewmh desktop properties. */
-    ewmh_update_current_desktop();
-    ewmh_update_number_of_desktops();
-    ewmh_update_desktop_names();
-    ewmh_update_desktop_viewport();
+    ewmh_update_desktop_properties();
 
     struct ev_io *xcb_watcher = scalloc(1, sizeof(struct ev_io));
     xcb_prepare = scalloc(1, sizeof(struct ev_prepare));