From 1d78a684b330e2de6b77923e888706d23af0601a Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 12 May 2014 08:13:13 +0200 Subject: awesome: focus&raise on resize/move This was missing while converting to awesome 3.5 config. --- .config/awesome/rc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config') 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 -- cgit