aboutsummaryrefslogtreecommitdiffstats
path: root/sway/main.c
diff options
context:
space:
mode:
authorLibravatar Rouven Czerwinski <rouven@czerwinskis.de>2019-01-15 18:09:34 +0100
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-15 14:06:48 -0500
commitf7309778a700972f7f4cdd529670ff3430da42dd (patch)
tree8a6bc4d3d5924ca0f14441104533a66154a46885 /sway/main.c
parentRemove wlr_xdg_surface_send_close. (diff)
downloadsway-f7309778a700972f7f4cdd529670ff3430da42dd.tar.gz
sway-f7309778a700972f7f4cdd529670ff3430da42dd.tar.zst
sway-f7309778a700972f7f4cdd529670ff3430da42dd.zip
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/main.c')
0 files changed, 0 insertions, 0 deletions