diff -r 335c279dbff6 dwm.c --- a/dwm.c Tue Jun 14 22:28:16 2011 +0100 +++ b/dwm.c Tue Aug 09 03:07:52 2011 +0100 @@ -1882,6 +1882,8 @@ if(!XGetWMNormalHints(dpy, c->win, &size, &msize)) /* size is uninitialized, ensure that size.flags aren't used */ size.flags = PSize; + if(size.flags & (USPosition|USSize)) + c->isfloating = True; if(size.flags & PBaseSize) { c->basew = size.base_width; c->baseh = size.base_height;