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://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=a644baf674e80bebfe92ac4bde8f187d1cf949a8 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: