fixing updatetitle
fc21dd4b
1 file(s) · +1 −1
| 1052 | 1052 | die("fatal: could not malloc() %u bytes\n", sizeof(Client)); |
|
| 1053 | 1053 | *c = cz; |
|
| 1054 | 1054 | c->win = w; |
|
| 1055 | + | updatetitle(c); |
|
| 1055 | 1056 | if(XGetTransientForHint(dpy, w, &trans)) |
|
| 1056 | 1057 | t = wintoclient(trans); |
|
| 1057 | 1058 | if(t) { |
|
| 1091 | 1092 | updatesizehints(c); |
|
| 1092 | 1093 | XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask); |
|
| 1093 | 1094 | grabbuttons(c, False); |
|
| 1094 | - | updatetitle(c); |
|
| 1095 | 1095 | if(!c->isfloating) |
|
| 1096 | 1096 | c->isfloating = trans != None || c->isfixed; |
|
| 1097 | 1097 | if(c->isfloating) |
|