fix missing snapping mouse buttons
This commit is contained in:
parent
140b0cde08
commit
2a73dd0264
12
init.lua
12
init.lua
|
@ -506,6 +506,18 @@ local function new(config)
|
||||||
if c then
|
if c then
|
||||||
button_wheel_down(c)
|
button_wheel_down(c)
|
||||||
end
|
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)
|
end)
|
||||||
})
|
})
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue