diff options
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) { | |||
| 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 |
