fixing updatetitle
anselm@x200s.config unknown
Sun, 12 Jul 2009 22:34:29 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
dwm.c
→
dwm.c
@@ -1052,6 +1052,7 @@ if(!(c = malloc(sizeof(Client))))
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 @@ configure(c); /* propagates border_width, if size doesn't change */
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)