diff options
author | Anselm R Garbe <anselm@garbe.us> | 2010-09-27 07:53:44 +0000 |
---|---|---|
committer | Anselm R Garbe <anselm@garbe.us> | 2010-09-27 07:53:44 +0000 |
commit | a644baf674e80bebfe92ac4bde8f187d1cf949a8 (patch) | |
tree | 5cd01123f6ba02ba7a6b82740272107f10f186b2 /dwm.c | |
parent | c1f8688bfa56e388dac0e0a9abc90fdb0324b6db (diff) | |
download | dwm-a644baf674e80bebfe92ac4bde8f187d1cf949a8.tar.gz |
applied Hiltjo's tiny cleanup fix
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |