blob: 35680c49bbd5a51d5fac99d565ba3171783f5ac8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
local awful = require "awful"
client.connect_signal("request::default_mousebindings", function()
awful.mouse.append_client_mousebindings({
awful.button({ }, 1, function (c)
c:activate { context = "mouse_click" }
end),
awful.button({ modkey }, 1, function (c)
c:activate { context = "mouse_click", action = "mouse_move" }
end),
awful.button({ modkey }, 3, function (c)
c:activate { context = "mouse_click", action = "mouse_resize" }
end)
})
end)
|