diff options
author | Premysl Hruby | 2008-08-14 12:36:49 +0200 |
---|---|---|
committer | Premysl Hruby | 2008-08-14 12:36:49 +0200 |
commit | fe76dd6e4a3b5d930053ec25189dccbdb44bdb39 (patch) | |
tree | b8656dc53ee5e7ed4d57ba2e58e58cbbb8dbffba /dwm.c | |
parent | 6a8e938a991246465c638dda32576bf479e9b571 (diff) | |
download | aur-fe76dd6e4a3b5d930053ec25189dccbdb44bdb39.tar.gz |
applied cleanup from M. Hurton and S. Nagy
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -903,8 +903,8 @@ manage(Window w, XWindowAttributes *wa) { XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask); grabbuttons(c, False); updatetitle(c); - if((rettrans = XGetTransientForHint(dpy, w, &trans) == Success)) - for(t = clients; t && t->win != trans; t = t->next); + if((rettrans = XGetTransientForHint(dpy, w, &trans)) == Success) + t = getclient(trans); if(t) c->tags = t->tags; else |