changeset: 1558:c787646ca93f
tag: tip
user: garbeam_AT_gmail.com
date: Sat Jul 02 11:02:22 2011 +0200
files: dwm.c
description:
applied Garys patch in a slightly modified way
diff -r 4784cd2d69e7 -r c787646ca93f dwm.c
--- a/dwm.c Fri Jul 01 17:56:53 2011 +0100
+++ b/dwm.c Sat Jul 02 11:02:22 2011 +0200
@@ -529,7 +529,7 @@
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;
Received on Sat Jul 02 2011 - 11:02:27 CEST
This archive was generated by hypermail 2.2.0 : Sat Jul 02 2011 - 11:12:06 CEST