mirror of
https://github.com/swaywm/sway.git
synced 2024-11-17 13:42:36 +00:00
24a90e5d86
Because cursor warping was the default behaviour in seat_set_focus, there may be cases where we may have been warping the cursor unintentionally. This patch removes cursor warping from seat_set_focus and only does it in the focus command. This is managed by a static function in focus.c. To know whether to warp or not, we need to know which node had focus previously. To keep track of this easily, seat->prev_focus has been introduced and is set to the previous in seat_set_focus. |
||
---|---|---|
.. | ||
sway | ||
swaybar | ||
swaylock | ||
swaynag | ||
background-image.h | ||
cairo.h | ||
ipc-client.h | ||
ipc.h | ||
list.h | ||
log.h | ||
loop.h | ||
meson.build | ||
pango.h | ||
pool-buffer.h | ||
readline.h | ||
stringop.h | ||
unicode.h | ||
util.h |