summary refs log tree commit diff
path: root/calmwm.c
diff options
context:
space:
mode:
authorokan <okan>2009-12-07 21:20:52 +0000
committerokan <okan>2009-12-07 21:20:52 +0000
commit3e309894c1d0f6ff9302109d72a0ffb25612d537 (patch)
treee4827ad0cdacb639b43d5262e88a896fa4087fb5 /calmwm.c
parent46630531f876c8043756e6622ca8be9e578bb2fa (diff)
downloadcwm-3e309894c1d0f6ff9302109d72a0ffb25612d537.tar.gz
cwm-3e309894c1d0f6ff9302109d72a0ffb25612d537.tar.xz
cwm-3e309894c1d0f6ff9302109d72a0ffb25612d537.zip
introduce the beginnings of netwm support, minimally and correctly;
allows java to be happy, but additionally stops others from whinning
about a non-netwm complaint wm.  more to come.

written a few times; this one includes a clever hack from oga@ to
populate _NET_SUPPORTED.

ok oga@
Diffstat (limited to 'calmwm.c')
-rw-r--r--calmwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calmwm.c b/calmwm.c
index 4ece6e2..a41c772 100644
--- a/calmwm.c
+++ b/calmwm.c
@@ -166,6 +166,8 @@ x_setupscreen(struct screen_ctx *sc, u_int which)
 	/* Initialize menu window. */
 	menu_init(sc);
 
+	xu_setwmname(sc);
+
 	/* Deal with existing clients. */
 	XQueryTree(X_Dpy, sc->rootwin, &w0, &w1, &wins, &nwins);