mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
fixing updatetitle
This commit is contained in:
parent
758b100d12
commit
fc21dd4b7e
1 changed files with 1 additions and 1 deletions
2
dwm.c
2
dwm.c
|
@ -1052,6 +1052,7 @@ manage(Window w, XWindowAttributes *wa) {
|
|||
die("fatal: could not malloc() %u bytes\n", sizeof(Client));
|
||||
*c = cz;
|
||||
c->win = w;
|
||||
updatetitle(c);
|
||||
if(XGetTransientForHint(dpy, w, &trans))
|
||||
t = wintoclient(trans);
|
||||
if(t) {
|
||||
|
@ -1091,7 +1092,6 @@ manage(Window w, XWindowAttributes *wa) {
|
|||
updatesizehints(c);
|
||||
XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
|
||||
grabbuttons(c, False);
|
||||
updatetitle(c);
|
||||
if(!c->isfloating)
|
||||
c->isfloating = trans != None || c->isfixed;
|
||||
if(c->isfloating)
|
||||
|
|
Loading…
Reference in a new issue