about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2011-10-25 20:08:08 +0100
committerConnor Lane Smith <cls@lubutu.com>2011-10-25 20:08:08 +0100
commitf68a01cd767659190bf690e29986184348672647 (patch)
treeaa59964f31744cb96939dd4308ef4518edeaef80
parent2b625eb73ed48ce671e497c60b61f4411c50c817 (diff)
downloaddwm-f68a01cd767659190bf690e29986184348672647.tar.gz
apply resize hints in floating layout
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index d108e12..d274b50 100644
--- a/dwm.c
+++ b/dwm.c
@@ -349,7 +349,7 @@ applysizehints(Client *c, int *x, int *y, int *w, int *h, Bool interact) {
 		*h = bh;
 	if(*w < bh)
 		*w = bh;
-	if(resizehints || c->isfloating) {
+	if(resizehints || c->isfloating || !c->mon->lt[c->mon->sellt]->arrange) {
 		/* see last two sentences in ICCCM 4.1.2.3 */
 		baseismin = c->basew == c->minw && c->baseh == c->minh;
 		if(!baseismin) { /* temporarily remove base dimensions */