summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/awesome/rc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 3f75405..e398bfa 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -407,8 +407,8 @@ 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),
+ awful.button({ modkey }, 1, function(c) client.focus=c;c:raise(); awful.mouse.client.move(c); end),
+ awful.button({ modkey }, 3, function(c) client.focus=c;c:raise(); awful.mouse.client.resize(c) end),
awful.button({ modkey }, 2, function(c) c:kill() end)
)
-- Set keys