applied Hiltjo's tiny cleanup fix
authorAnselm R Garbe <anselm@garbe.us>
Mon, 27 Sep 2010 07:53:44 +0000
changeset 1527 406003e3a01f
parent 1526 64eb02a74f2b
child 1528 b4f5309d6253
applied Hiltjo's tiny cleanup fix
dwm.c
--- a/dwm.c	Sat Sep 25 13:39:08 2010 +0000
+++ b/dwm.c	Mon Sep 27 07:53:44 2010 +0000
@@ -1270,7 +1270,7 @@
 		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: