swayfx/sway/input
emersion 03d49490cc Update cursor on focus change
This allows to send wl_pointer.enter when switching between views
in a split/tabbed layout for instance. This (1) updates the cursor
image accordingly (2) makes it unnecessary to move the mouse before
scrolling. It's harmless to always call cursor_send_pointer_motion
because in case the focused surface hasn't changed this is a no-op.

The `last_focus != NULL` condition is required otherwise
cursor_send_pointer_motion will crash when sway starts up (the
sway_output doesn't yet have a workspace).
2018-07-17 23:04:55 +01:00
..
cursor.c Make focus part of transactions 2018-07-15 22:08:26 +10:00
input-manager.c Implement tap_button_map for input devices 2018-07-14 01:01:47 -04:00
keyboard.c Make focus part of transactions 2018-07-15 22:08:26 +10:00
seat.c Update cursor on focus change 2018-07-17 23:04:55 +01:00