aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.c
diff options
context:
space:
mode:
authorokan2009-12-07 21:20:52 +0000
committerokan2009-12-07 21:20:52 +0000
commite4020287e35b326e95d08d540f8c14b34d9c32be (patch)
tree0a9328dc1b84182f56ea5f72e6d2b45d128fcc2c /calmwm.c
parentc88913a1665e6a67ca9af2d168494a3ff8877294 (diff)
downloadcwm-e4020287e35b326e95d08d540f8c14b34d9c32be.tar.gz
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 '')
-rw-r--r--calmwm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calmwm.c b/calmwm.c
index 3a3a813..7431a89 100644
--- a/calmwm.c
+++ b/calmwm.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.
*
- * $Id: calmwm.c,v 1.43 2009/08/24 21:22:48 oga Exp $
+ * $Id: calmwm.c,v 1.44 2009/12/07 21:20:52 okan Exp $
*/
#include "headers.h"
@@ -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);