summary refs log tree commit diff
path: root/screen.c
diff options
context:
space:
mode:
authorokan <okan>2019-03-04 14:48:59 +0000
committerokan <okan>2019-03-04 14:48:59 +0000
commit9d5b0e5d22fca1b6fb37a8df906bdad0317238c9 (patch)
tree18434df273f1c57b7815b0c23dd7057bf86d6069 /screen.c
parentfda68a40de36baebe1c27b91a49c7ee062555103 (diff)
downloadcwm-9d5b0e5d22fca1b6fb37a8df906bdad0317238c9.tar.gz
cwm-9d5b0e5d22fca1b6fb37a8df906bdad0317238c9.tar.xz
cwm-9d5b0e5d22fca1b6fb37a8df906bdad0317238c9.zip
fix a few misplaced (and misnamed) ewmh root window functions
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index f70c02e..a449219 100644
--- a/screen.c
+++ b/screen.c
@@ -63,8 +63,7 @@ screen_init(int which)
 	screen_update_geometry(sc);
 
 	xu_ewmh_net_desktop_names(sc);
-	xu_ewmh_net_wm_desktop_viewport(sc);
-	xu_ewmh_net_wm_number_of_desktops(sc);
+	xu_ewmh_net_number_of_desktops(sc);
 	xu_ewmh_net_showing_desktop(sc);
 	xu_ewmh_net_virtual_roots(sc);
 	active = xu_ewmh_get_net_active_window(sc);
@@ -214,6 +213,7 @@ screen_update_geometry(struct screen_ctx *sc)
 	}
 
 	xu_ewmh_net_desktop_geometry(sc);
+	xu_ewmh_net_desktop_viewport(sc);
 	xu_ewmh_net_workarea(sc);
 }