diff options
author | Peter Palfrader <peter@palfrader.org> | 2019-09-03 10:20:34 +0200 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2019-09-03 10:20:34 +0200 |
commit | eafb097b1cc90f81ec80013af35e2ceac7aa8838 (patch) | |
tree | 0a9d0bb0ae583c529d83862f24bcacec49ebb89c | |
parent | 17e6b97ee927a9c9d827a139ca8e072762839cb2 (diff) |
Replace deprecated awful.tag.getidx() with awful.screen.focused().selected_tag.index
-rw-r--r-- | config/awesome/rc.lua | 2 |
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 |