diff --git a/lib/awful/tag.lua b/lib/awful/tag.lua index 42d5a2d8..05da7c16 100644 --- a/lib/awful/tag.lua +++ b/lib/awful/tag.lua @@ -209,7 +209,7 @@ function tag.add(name, props) -- signal is sent properties.screen = get_screen(properties.screen or ascreen.focused()) -- Index is also required - properties.index = #raw_tags(properties.screen)+1 + properties.index = properties.index or #raw_tags(properties.screen)+1 local newtag = capi.tag{ name = name }