summaryrefslogtreecommitdiff
path: root/buttons.lua
diff options
context:
space:
mode:
Diffstat (limited to 'buttons.lua')
-rw-r--r--buttons.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/buttons.lua b/buttons.lua
index ff87aae..bce8442 100644
--- a/buttons.lua
+++ b/buttons.lua
@@ -22,7 +22,7 @@ client_buttons = gears.table.join(
-- wibar widgets
layout_buttons = gears.table.join(
- awful.button({ }, 1, function() awful.layout.inc(1, awful.screen.focused().tags[0]) end),
+ awful.button({ }, 1, function() awful.layout.inc(1, awful.screen.focused(), awful.layout.layouts) end),
awful.button({ }, 2, function() if client.focus and not client.focus.prevent_kill then client.focus:kill() end end)
)