tapplied cleanup from M. Hurton and S. Nagy - dwm - [fork] customized build of … | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 0ffa6d13939443a84a732f111d483c233b529bbf | |
parent 15ce1436203c1400452a3bd789ac9e1775f19341 | |
Author: Premysl Hruby <[email protected]> | |
Date: Thu, 14 Aug 2008 12:36:49 +0200 | |
applied cleanup from M. Hurton and S. Nagy | |
Diffstat: | |
M dwm.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -903,8 +903,8 @@ manage(Window w, XWindowAttributes *wa) { | |
XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMas… | |
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 |