awesome/lib
Uli Schlachter 2b0398c59b awful.tag: Use sane tag index values (FS#1125)
Since commit d8a93dafa3, tags have an "index" property which decides about
the order in which they are displayed in the taglist. If a tag doesn't have this
property set, the next call to awful.tag.gettags() will fix this and "invent" an
index for this new tag.

However, if multiple tags didn't have an "index" property, gettags() would
assign all of them the same index. The following call to table.sort() would then
do random magic to these tags (remember: table.sort() is not a stable sorting
algorithm, so it is allowed to randomly swap around entries which have the same
sorting key).

Fix this by making sure that the new "index" properties are different from each
other.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2013-03-16 16:51:55 +01:00
..
awful awful.tag: Use sane tag index values (FS#1125) 2013-03-16 16:51:55 +01:00
gears gears.wallpaper: Create smaller image surface (FS#1087) 2013-02-12 15:15:16 +01:00
menubar menubar: Treat KP_Enter as pressing Enter (FS#1072) 2013-01-10 17:01:41 +01:00
wibox wibox: Improve constructor functions for some layouts 2013-03-10 13:46:28 +01:00
beautiful.lua.in Fix errors from missing themes 2012-11-27 22:55:42 +01:00
naughty.lua.in naughty: Handle broken icon arguments better (FS#1076) 2013-03-10 10:57:49 +01:00