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
|
||||
|
||||
-- @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)
|
||||
|
|
Loading…
Reference in New Issue