applied cleanup from M. Hurton and S. Nagy
Premysl Hruby dfenze@gmail.com
Thu, 14 Aug 2008 12:36:49 +0200
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
dwm.c
→
dwm.c
@@ -903,8 +903,8 @@ updatesizehints(c);
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