On Tue, May 16, 2006 at 03:04:35PM +0200, Uriel wrote:
> BTW, I think a special * tag would be handy to mean 'match all tags'
> and would make it easy for apps to show on all views, specially useful
> for some floating apps, like faces(1).
We removed the * tag because of several nasty corner-cases. What
todo if all clients of a view are * tagged (destroy view, except
last view? What is last view?), What todo with tags like
*+foo+bar (they are valid syntax), quite nasty checks in
update_view (separate handling in all places on view
creation/destruction) etc. etc. - actually we had a hack of this
stuff which consisted of about 30 lines or so, but it was quite
ugly and duplicated much code. A * tag works contrary to the
normal tagging because of this special treatment.
The overall gain of such a bahvior would be quite limited,
because the cases are _very_ rare when one 'needs' a * tag. (In
my POV sticky windows are a hack in classic WMs due the lack of
tagging, thus they needed * as workaround).
And for those cases one really needs it, one can easily use this
workaround, which works quite well and is always predictable:
$MODKEY-Shift-s:
wmiir read /tags|tr '\n' '+'|sed 's/+$//'|wmiir write /view/sel/sel/tags
Regards,
-- Anselm R. Garbe ><>< www.ebrag.de ><>< GPG key: 0D73F361Received on Tue May 16 2006 - 16:26:26 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:05:19 UTC