[hackers] [dwm] fixing updatetitle || anselm

From: <hg_AT_suckless.org>
Date: Sun, 12 Jul 2009 20:34:48 +0000 (UTC)

changeset: 1459:a5eecc6d674f
tag: tip
user: anselm_AT_x200s.config
date: Sun Jul 12 22:34:29 2009 +0100
files: dwm.c
description:
fixing updatetitle

diff -r e30739eebeed -r a5eecc6d674f dwm.c
--- a/dwm.c Thu Jul 09 21:52:17 2009 +0100
+++ b/dwm.c Sun Jul 12 22:34:29 2009 +0100
@@ -1052,6 +1052,7 @@
                 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 @@
         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)
Received on Sun Jul 12 2009 - 20:34:48 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 12 2009 - 20:36:05 UTC