rc.lua: Use the new API for the client buttons
This commit is contained in:
parent
951b774a70
commit
5f829171c4
|
@ -426,7 +426,7 @@ for i = 1, 9 do
|
||||||
end
|
end
|
||||||
|
|
||||||
-- @DOC_CLIENT_BUTTONS@
|
-- @DOC_CLIENT_BUTTONS@
|
||||||
clientbuttons = gears.table.join(
|
clientbuttons = {
|
||||||
awful.button({ }, 1, function (c)
|
awful.button({ }, 1, function (c)
|
||||||
c:emit_signal("request::activate", "mouse_click", {raise = true})
|
c:emit_signal("request::activate", "mouse_click", {raise = true})
|
||||||
end),
|
end),
|
||||||
|
@ -437,8 +437,8 @@ clientbuttons = gears.table.join(
|
||||||
awful.button({ modkey }, 3, function (c)
|
awful.button({ modkey }, 3, function (c)
|
||||||
c:emit_signal("request::activate", "mouse_click", {raise = true})
|
c:emit_signal("request::activate", "mouse_click", {raise = true})
|
||||||
awful.mouse.client.resize(c)
|
awful.mouse.client.resize(c)
|
||||||
end)
|
end),
|
||||||
)
|
}
|
||||||
|
|
||||||
-- Set keys
|
-- Set keys
|
||||||
root.keys(globalkeys)
|
root.keys(globalkeys)
|
||||||
|
|
Loading…
Reference in New Issue