summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/awesome/rc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua
index 00165ce..494321c 100644
--- a/config/awesome/rc.lua
+++ b/config/awesome/rc.lua
@@ -374,7 +374,7 @@ globalkeys = awful.util.table.join(
-- more weasel
local function viewidx_no_wrap(num_cols, delta_rows, delta_cols, cl)
local screen = awful.screen.focused()
- local cur = awful.tag.getidx()
+ local cur = screen.selected_tag.index
local cc = (cur-1) % num_cols
local jump = delta_rows * num_cols + delta_cols