dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit a644baf674e80bebfe92ac4bde8f187d1cf949a8
parent c1f8688bfa56e388dac0e0a9abc90fdb0324b6db
Author: Anselm R Garbe <anselm@garbe.us>
Date:   Mon, 27 Sep 2010 07:53:44 +0000

applied Hiltjo's tiny cleanup fix
Diffstat:
Mdwm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwm.c b/dwm.c
@@ -1270,7 +1270,7 @@ propertynotify(XEvent *e) {
         default: break;
         case XA_WM_TRANSIENT_FOR:
             if(!c->isfloating && (XGetTransientForHint(dpy, c->win, &trans)) &&
-               (c->isfloating = (wintoclient(trans))))
+               (c->isfloating = (wintoclient(trans)) != NULL))
                 arrange(c->mon);
             break;
         case XA_WM_NORMAL_HINTS: