commit d1439ec8fd6bb7a890a49aaf6a332e99a9b58734
parent 281498667280d8c184cc91933683a45d1b9a2f8d
Author: Jerome Andrieux <jerome@gcu.info>
Date: Tue, 25 May 2010 21:26:41 +0200
Fix for float mode bug on uselessgap patch. Reported by Guillaume Picard. Thanks.
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dwm.suckless.org/patches/dwm-uselessgap-5.8.diff b/dwm.suckless.org/patches/dwm-uselessgap-5.8.diff
@@ -24,7 +24,7 @@ diff -r 72e52c5333ef dwm.c
resize(Client *c, int x, int y, int w, int h, Bool interact) {
XWindowChanges wc;
-+ if(c->isfloating) { globalborder = 0 ; }
++ if(c->isfloating || selmon->lt[selmon->sellt]->arrange == NULL) { globalborder = 0 ; }
+ else {
+ if (selmon->lt[selmon->sellt]->arrange == monocle) { globalborder = 0 - borderpx ; }
+ else { globalborder = gappx ; }
diff --git a/dwm.suckless.org/patches/uselessgap.md b/dwm.suckless.org/patches/uselessgap.md
@@ -33,7 +33,7 @@ The size of the gap is configured in config.def.h.
## Download
- * [dwm-uselessgap-5.8.diff](dwm-uselessgap-5.8.diff) (0.7K) (20100308)
+ * [dwm-uselessgap-5.8.diff](dwm-uselessgap-5.8.diff) (0.7K) (20100225 updated. Thanks Guillaume for your bug report)
Fix floating clients bug and remove all borders in monocle mode.