aboutsummaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2010-09-27 07:53:44 +0000
committerAnselm R Garbe <anselm@garbe.us>2010-09-27 07:53:44 +0000
commita644baf674e80bebfe92ac4bde8f187d1cf949a8 (patch)
tree5cd01123f6ba02ba7a6b82740272107f10f186b2 /dwm.c
parentc1f8688bfa56e388dac0e0a9abc90fdb0324b6db (diff)
downloaddwm-a644baf674e80bebfe92ac4bde8f187d1cf949a8.tar.gz
dwm-a644baf674e80bebfe92ac4bde8f187d1cf949a8.tar.bz2
dwm-a644baf674e80bebfe92ac4bde8f187d1cf949a8.zip
applied Hiltjo's tiny cleanup fix
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
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: