diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2009-12-07 21:20:53 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2009-12-07 21:20:53 +0000 |
commit | c3a6b5ca57ef0c6ffc359ab01963fe922eaf4c4c (patch) | |
tree | 57f97d7daf02483d577f4ebdcaa76006697e9784 /app/cwm/calmwm.c | |
parent | 2f78ddcbbb1cf2d36e699516717b1eea7b9c1b44 (diff) |
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 'app/cwm/calmwm.c')
-rw-r--r-- | app/cwm/calmwm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/cwm/calmwm.c b/app/cwm/calmwm.c index 3a3a81305..7431a8979 100644 --- a/app/cwm/calmwm.c +++ b/app/cwm/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); |