Browse Source

apply resize hints in floating layout

Connor Lane Smith 14 years ago
parent
commit
f68a01cd76
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dwm.c

+ 1 - 1
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 */