summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index e3b8833..d0239f4 100644
--- a/dwm.c
+++ b/dwm.c
@@ -903,8 +903,8 @@ manage(Window w, XWindowAttributes *wa) {
903 XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask); 903 XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
904 grabbuttons(c, False); 904 grabbuttons(c, False);
905 updatetitle(c); 905 updatetitle(c);
906 if((rettrans = XGetTransientForHint(dpy, w, &trans) == Success)) 906 if((rettrans = XGetTransientForHint(dpy, w, &trans)) == Success)
907 for(t = clients; t && t->win != trans; t = t->next); 907 t = getclient(trans);
908 if(t) 908 if(t)
909 c->tags = t->tags; 909 c->tags = t->tags;
910 else 910 else