From 5ade0e620bac61e27a9aa85913daf0dad4408e0c Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Mon, 10 Jun 2013 18:32:31 +0200 Subject: [PATCH] group mouse bindings --- awesome/bindings.lua | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/awesome/bindings.lua b/awesome/bindings.lua index 81a06b4..9f65a30 100644 --- a/awesome/bindings.lua +++ b/awesome/bindings.lua @@ -4,6 +4,11 @@ root.buttons(awful.util.table.join( awful.button({ }, 4, awful.tag.viewnext), awful.button({ }, 5, awful.tag.viewprev) )) + +clientbuttons = awful.util.table.join( + awful.button({ }, 1, function (c) client.focus = c; c:raise() end), + awful.button({ modkey }, 1, awful.mouse.client.move), + awful.button({ modkey }, 3, awful.mouse.client.resize)) -- }}} -- {{{ Key bindings @@ -130,12 +135,6 @@ for i = 1, 9 do end)) end -clientbuttons = awful.util.table.join( - awful.button({ }, 1, function (c) client.focus = c; c:raise() end), - awful.button({ modkey }, 1, awful.mouse.client.move), - awful.button({ modkey }, 3, awful.mouse.client.resize)) - -- Set keys root.keys(globalkeys) -- }}} - -- 2.48.1