diff options
author | Rouven Czerwinski <rouven@czerwinskis.de> | 2019-01-15 18:09:34 +0100 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-15 14:06:48 -0500 |
commit | f7309778a700972f7f4cdd529670ff3430da42dd (patch) | |
tree | 8a6bc4d3d5924ca0f14441104533a66154a46885 /sway/commands/fullscreen.c | |
parent | 023c92423e0ac1d538af25c6bcd6827f29527e10 (diff) |
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
Diffstat (limited to 'sway/commands/fullscreen.c')
0 files changed, 0 insertions, 0 deletions