From: Anselm R Garbe Date: Mon, 27 Sep 2010 07:53:44 +0000 (+0000) Subject: applied Hiltjo's tiny cleanup fix X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=a644baf674e80bebfe92ac4bde8f187d1cf949a8;p=dwm.git applied Hiltjo's tiny cleanup fix --- 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: