Browse Source

applied Hiltjo's tiny cleanup fix

master
Anselm R Garbe 14 years ago
parent
commit
a644baf674
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dwm.c

+ 1
- 1
dwm.c View File

@ -1270,7 +1270,7 @@ propertynotify(XEvent *e) {
default: break; default: break;
case XA_WM_TRANSIENT_FOR: case XA_WM_TRANSIENT_FOR:
if(!c->isfloating && (XGetTransientForHint(dpy, c->win, &trans)) && if(!c->isfloating && (XGetTransientForHint(dpy, c->win, &trans)) &&
(c->isfloating = (wintoclient(trans))))
(c->isfloating = (wintoclient(trans)) != NULL))
arrange(c->mon); arrange(c->mon);
break; break;
case XA_WM_NORMAL_HINTS: case XA_WM_NORMAL_HINTS:


Loading…
Cancel
Save