sway/sway
Rouven Czerwinski f7309778a7 cursor: send clear_focus on hide and enter event on unhide
Clear the focus when we hide the cursor and show it again during the unhide
action. The unhide function will rebase the cursor after the unhide.

Tested by looking at the WAYLAND_DEBUG=1 output of termite.

Also call cursor_handle_activity before sending pointer events to send the enter
events to the surface if the cursor was hidden before.

Fixes #3431
2019-01-15 14:06:48 -05:00
..
commands Handle hidden scratchpad containers in commands 2019-01-15 09:05:27 +01:00
config Merge pull request #3397 from RedSoxFan/fix-swaybar-height 2019-01-13 20:36:08 -05:00
desktop Remove wlr_xdg_surface_send_close. 2019-01-15 09:13:27 +01:00
input cursor: send clear_focus on hide and enter event on unhide 2019-01-15 14:06:48 -05:00
tree Do not damage view child when container is NULL 2019-01-15 09:06:42 +01:00
commands.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
config.c Remove 'input' field of IPC command return json 2019-01-14 07:58:02 -05:00
criteria.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
debug-tree.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Merge pull request #3344 from RedSoxFan/bar-mouse-bindings-improved 2019-01-13 20:41:05 -05:00
ipc-server.c bind{code,sym}: utilize mouse button helpers 2019-01-09 11:29:04 -05:00
main.c Merge pull request #3144 from emersion/cmd-xwayland 2019-01-13 20:42:39 -05:00
meson.build Merge pull request #3144 from emersion/cmd-xwayland 2019-01-13 20:42:39 -05:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Merge pull request #3144 from emersion/cmd-xwayland 2019-01-13 20:42:39 -05:00
sway-bar.5.scd Merge pull request #3344 from RedSoxFan/bar-mouse-bindings-improved 2019-01-13 20:41:05 -05:00
sway-input.5.scd Merge pull request #3343 from RedSoxFan/seat-cursor-buttons-improved 2019-01-13 20:40:42 -05:00
sway-output.5.scd Fixed formulations. 2019-01-04 12:44:03 +01:00
sway.1.scd Undocument SWAY_CURSOR_THEME and SWAY_CURSOR_SIZE 2018-12-31 01:42:33 +01:00
sway.5.scd Merge pull request #3144 from emersion/cmd-xwayland 2019-01-13 20:42:39 -05:00
swaynag.c Allow swaynag to be disabled 2018-10-08 09:59:38 -04:00
xdg_decoration.c Improve CSD logic 2018-09-27 22:51:37 +10:00