Hello all,
I'm a heavy user of "Style * IndexedWindowName" and was wondering why
it only sets the visible name, and not fw->name.name? There's several
times where I have thought this to be useful, especially when using
$[w.name] so it returns what I would like to be "foo (n)" rather than
"foo". Would something like the following be rejected? I've been
using this tweak for ages now and it doesn't break anything for me.
----------------------------------------------
diff -u -r1.398 add_window.c
--- add_window.c 6 Aug 2008 17:55:28 -0000 1.398
+++ add_window.c 30 Sep 2008 17:52:20 -0000
@@ -1658,7 +1658,11 @@
else
{
fw->visible_name = ext_name;
- }
+
+ /* And at the same time, set it as name. */
+ fw->name.name = ext_name;
+
+ }
return;
}
-------------------------------------------------
I'm probably missing something really obvious here as to why it only
messes with visible_name...
-- Thomas Adam