awfuL; give focus to sel on screen change

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-07-01 09:34:39 +02:00
parent a4e12b1ce0
commit 0d7b5a7c07

View file

@ -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