dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit fc21dd4b7e65bb511ac10f8bd8f469fe0f00a76e
parent 758b100d12ba1c52b5d7479e3ed334ba89e701f8
Author: anselm@x200s.config <unknown>
Date:   Sun, 12 Jul 2009 22:34:29 +0100

fixing updatetitle
Diffstat:
Mdwm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwm.c b/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)