dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit 27b0142203e06bdbb1ff3c2179ac88e08aa4295e
parent 867ba360300682859ab963222ec0a3f42586ff54
Author: garbeam@gmail.com <unknown>
Date:   Sat,  2 Jul 2011 11:02:22 +0200

applied Garys patch in a slightly modified way
Diffstat:
Mdwm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwm.c b/dwm.c
@@ -529,7 +529,7 @@ clientmessage(XEvent *e) {
     if(!c)
         return;
     if(cme->message_type == netatom[NetWMState] && cme->data.l[1] == netatom[NetWMFullscreen]) {
-        if(cme->data.l[0]) {
+        if(cme->data.l[0] && !c->isfullscreen) {
             XChangeProperty(dpy, cme->window, netatom[NetWMState], XA_ATOM, 32,
                             PropModeReplace, (unsigned char*)&netatom[NetWMFullscreen], 1);
             c->isfullscreen = True;