Browse Source

fixing updatetitle

main
anselm@x200s.config 15 years ago
parent
commit
fc21dd4b7e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dwm.c

+ 1
- 1
dwm.c View File

@ -1052,6 +1052,7 @@ manage(Window w, XWindowAttributes *wa) {
die("fatal: could not malloc() %u bytes\n", sizeof(Client)); die("fatal: could not malloc() %u bytes\n", sizeof(Client));
*c = cz; *c = cz;
c->win = w; c->win = w;
updatetitle(c);
if(XGetTransientForHint(dpy, w, &trans)) if(XGetTransientForHint(dpy, w, &trans))
t = wintoclient(trans); t = wintoclient(trans);
if(t) { if(t) {
@ -1091,7 +1092,6 @@ manage(Window w, XWindowAttributes *wa) {
updatesizehints(c); updatesizehints(c);
XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask); XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
grabbuttons(c, False); grabbuttons(c, False);
updatetitle(c);
if(!c->isfloating) if(!c->isfloating)
c->isfloating = trans != None || c->isfixed; c->isfloating = trans != None || c->isfixed;
if(c->isfloating) if(c->isfloating)


Loading…
Cancel
Save