From 2a73dd0264b22c329ff4cf95cd8260f69a2d1233 Mon Sep 17 00:00:00 2001 From: BZ Date: Tue, 2 Feb 2021 12:43:17 +0100 Subject: [PATCH] fix missing snapping mouse buttons --- init.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/init.lua b/init.lua index 057dfc9..fa65843 100644 --- a/init.lua +++ b/init.lua @@ -506,6 +506,18 @@ local function new(config) if c then button_wheel_down(c) end + end), + awful.button({}, 8, function() + local c = mouse_closest_client() + if c then + button_back(c) + end + end), + awful.button({}, 9, function() + local c = mouse_closest_client() + if c then + button_forward(c) + end end) }) else