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 /swaybar/config.c | |
parent | Remove wlr_xdg_surface_send_close. (diff) | |
download | sway-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 'swaybar/config.c')
0 files changed, 0 insertions, 0 deletions