From e4020287e35b326e95d08d540f8c14b34d9c32be Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 7 Dec 2009 21:20:52 +0000 Subject: 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@ --- calmwm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'calmwm.c') 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); -- cgit v1.2.3-2-gb3c3