[wiki] [sites] Add previously omitted change back to patch || Eric Pruitt
commit 1d6856f54d4bd1c5e08e0e80f7a832f4b01b26ac
Author: Eric Pruitt <eric.pruitt_AT_gmail.com>
Date: Sun Dec 27 21:12:01 2015 -0800
Add previously omitted change back to patch
diff --git a/dwm.suckless.org/patches/dwm-6.1-better-borders.diff b/dwm.suckless.org/patches/dwm-6.1-better-borders.diff
index 9a6bf19..e266243 100644
--- a/dwm.suckless.org/patches/dwm-6.1-better-borders.diff
+++ b/dwm.suckless.org/patches/dwm-6.1-better-borders.diff
_AT_@ -64,3 +64,13 @@ index 0362114..03fddb6 100644
}
void
+_AT_@ -2003,7 +2050,8 @@ updatewindowtype(Client *c)
+ Atom state = getatomprop(c, netatom[NetWMState]);
+ Atom wtype = getatomprop(c, netatom[NetWMWindowType]);
+
+- if (state == netatom[NetWMFullscreen])
++ if(state == netatom[NetWMFullscreen] ||
++ (WIDTH(c) >= (c->mon->mx + c->mon->mw) && (HEIGHT(c) >= (c->mon->my + c->mon->mh))))
+ setfullscreen(c, 1);
+ if (wtype == netatom[NetWMWindowTypeDialog])
+ c->isfloating = 1;
Received on Mon Dec 28 2015 - 06:13:56 CET
This archive was generated by hypermail 2.3.0
: Mon Dec 28 2015 - 06:24:11 CET