summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 4d1493b..bfeae15 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1052,6 +1052,7 @@ manage(Window w, XWindowAttributes *wa) {
1052 die("fatal: could not malloc() %u bytes\n", sizeof(Client)); 1052 die("fatal: could not malloc() %u bytes\n", sizeof(Client));
1053 *c = cz; 1053 *c = cz;
1054 c->win = w; 1054 c->win = w;
1055 updatetitle(c);
1055 if(XGetTransientForHint(dpy, w, &trans)) 1056 if(XGetTransientForHint(dpy, w, &trans))
1056 t = wintoclient(trans); 1057 t = wintoclient(trans);
1057 if(t) { 1058 if(t) {
@@ -1091,7 +1092,6 @@ manage(Window w, XWindowAttributes *wa) {
1091 updatesizehints(c); 1092 updatesizehints(c);
1092 XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask); 1093 XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
1093 grabbuttons(c, False); 1094 grabbuttons(c, False);
1094 updatetitle(c);
1095 if(!c->isfloating) 1095 if(!c->isfloating)
1096 c->isfloating = trans != None || c->isfixed; 1096 c->isfloating = trans != None || c->isfixed;
1097 if(c->isfloating) 1097 if(c->isfloating)