aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorokan2019-03-04 14:48:59 +0000
committerokan2019-03-04 14:48:59 +0000
commit630b170b88810b2ccb695b6f715b9a415525c926 (patch)
treeea348bb6e8d8403560fa0e0b2f3268285dad7232 /screen.c
parentd1740203ce9a4cb1c778abc27fba6439a23f855f (diff)
downloadcwm-630b170b88810b2ccb695b6f715b9a415525c926.tar.gz
fix a few misplaced (and misnamed) ewmh root window functions
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/screen.c b/screen.c
index 8b01115..ca6df76 100644
--- a/screen.c
+++ b/screen.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: screen.c,v 1.90 2019/03/04 14:36:02 okan Exp $
+ * $OpenBSD: screen.c,v 1.91 2019/03/04 14:48:59 okan Exp $
*/
#include <sys/types.h>
@@ -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);
}