]> git.sur5r.net Git - i3/i3/blobdiff - src/workspace.c
Handle the EWMH atom _NET_WM_DESKTOP.
[i3/i3] / src / workspace.c
index 923bfc83a4d289c061fd5dc49e5f376a09c1114b..ba19cb5f38bc68f2b8ef616f8bbbebb3216f737c 100644 (file)
@@ -101,6 +101,7 @@ Con *workspace_get(const char *num, bool *created) {
         ewmh_update_number_of_desktops();
         ewmh_update_desktop_names();
         ewmh_update_desktop_viewport();
+        ewmh_update_wm_desktop();
         if (created != NULL)
             *created = true;
     } else if (created != NULL) {
@@ -463,6 +464,7 @@ static void _workspace_show(Con *workspace) {
             ewmh_update_number_of_desktops();
             ewmh_update_desktop_names();
             ewmh_update_desktop_viewport();
+            ewmh_update_wm_desktop();
         }
     }