rc.lua: Use the new API for the client buttons

This commit is contained in:
Emmanuel Lepage Vallee 2018-12-26 21:51:22 -05:00
parent 951b774a70
commit 5f829171c4
1 changed files with 3 additions and 3 deletions

View File

@ -426,7 +426,7 @@ for i = 1, 9 do
end
-- @DOC_CLIENT_BUTTONS@
clientbuttons = gears.table.join(
clientbuttons = {
awful.button({ }, 1, function (c)
c:emit_signal("request::activate", "mouse_click", {raise = true})
end),
@ -437,8 +437,8 @@ clientbuttons = gears.table.join(
awful.button({ modkey }, 3, function (c)
c:emit_signal("request::activate", "mouse_click", {raise = true})
awful.mouse.client.resize(c)
end)
)
end),
}
-- Set keys
root.keys(globalkeys)