❦ 12 juillet 2012 16:42 CEST, Bryan Gardiner <b...@khumba.net> : >> What is the rule when we display two tags with different master width >> factors? Currently, it seems to be "random". Sometimes, I get the >> master width of the initial tag, sometimes the one of the new tag. >> >> Thanks. > > I believe the policy is to always use the layout of the left-most > active tag.
That does not match what I have noticed. Therefore, I have looked at the source: local t = tag.selected(param.screen) awful.tag.selected() is advertised to return the _first_ visible tag. It uses awful.tag.selectedlist() which iterates over capi.screen[screen]:tags(). In my case, this table is not ordered correctly, hence the "undefined" behaviour I got. I think this is because I am using "sharedtags" which swaps tags between screens. -- Each module should do one thing well. - The Elements of Programming Style (Kernighan & Plauger) -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.