From a644baf674e80bebfe92ac4bde8f187d1cf949a8 Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Mon, 27 Sep 2010 07:53:44 +0000 Subject: [PATCH] applied Hiltjo's tiny cleanup fix --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index cbe2752..0a23e5a 100644 --- 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: