pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
867ba36
)
applied Garys patch in a slightly modified way
author
garbeam@gmail.com
<unknown>
Sat, 2 Jul 2011 09:02:22 +0000
(11:02 +0200)
committer
garbeam@gmail.com
<unknown>
Sat, 2 Jul 2011 09:02:22 +0000
(11:02 +0200)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
f842b41
..
ba00afe
100644
(file)
--- 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;