From 0d7b5a7c079de0ed4c342228503e592760833745 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 1 Jul 2008 09:34:39 +0200 Subject: [PATCH] awfuL; give focus to sel on screen change Signed-off-by: Julien Danjou --- lib/awful.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/awful.lua b/lib/awful.lua index bdca1657..dd640ebe 100644 --- a/lib/awful.lua +++ b/lib/awful.lua @@ -333,6 +333,7 @@ function P.client.movetoscreen(c, s) if s > sc then s = 1 elseif s < 1 then s = sc end sel:screen_set(s) mouse.coords_set(screen.coords_get(s)) + sel:focus_set() end end