awfuL; give focus to sel on screen change
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
a4e12b1ce0
commit
0d7b5a7c07
|
@ -333,6 +333,7 @@ function P.client.movetoscreen(c, s)
|
||||||
if s > sc then s = 1 elseif s < 1 then s = sc end
|
if s > sc then s = 1 elseif s < 1 then s = sc end
|
||||||
sel:screen_set(s)
|
sel:screen_set(s)
|
||||||
mouse.coords_set(screen.coords_get(s))
|
mouse.coords_set(screen.coords_get(s))
|
||||||
|
sel:focus_set()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue