summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/client.c b/client.c
index ccd8100..aa96f4f 100644
--- a/client.c
+++ b/client.c
@@ -247,8 +247,9 @@ manage(Window w, XWindowAttributes *wa)
247 GrabModeAsync, GrabModeSync, None, None); 247 GrabModeAsync, GrabModeSync, None, None);
248 248
249 if(!c->isfloat) 249 if(!c->isfloat)
250 c->isfloat = trans 250 c->isfloat = trans || (c->maxw && c->minw &&
251 || ((c->maxw == c->minw) && (c->maxh == c->minh)); 251 (c->maxw == c->minw) && (c->maxh == c->minh));
252
252 253
253 setgeom(c); 254 setgeom(c);
254 settitle(c); 255 settitle(c);