Permalink
Browse files

Fix selection of taglist widget during rename

  • Loading branch information...
1 parent 8080445 commit 579e926f7d0fee68076f8f1bc624148b105c0a17 @bioe007 committed Sep 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 init.lua
View
2 init.lua
@@ -108,7 +108,7 @@ function rename(tag, prefix, no_selectall)
awful.prompt.run({
fg_cursor = fg, bg_cursor = bg, ul_cursor = "single",
text = text, selectall = not no_selectall},
- taglist[scr][tag2index(scr, t) + 1],
+ taglist[scr][tag2index(scr, t) * 2],
function (name) if name:len() > 0 then t.name = name; end end,
completion,
awful.util.getdir("cache") .. "/history_tags",

0 comments on commit 579e926

Please sign in to comment.