wlroots/rootston
Dorota Czaplejewicz f4ae9824f7 rootston/layer_shell: fix clicking after surface moved/resized
Layer surfaces are not notified of cursor position changes if the surface moves, only if the cursor moves. This workaround emits a cursor position event every time a cursor ends up over a newly resized layer surface to make sure the following clicks land in the right place.

This change doesn't address sending leave events when a cursor previously present over the surface becomes away.

There are 2 separate mechanisms in play, because a layer surface gets resized in 2 steps:

1. Layer surface resize & rearrange.
2. Underlying surface resize.

The first step may affect all layer surfaces. The cursor events are sent to cursors placed over all layer surfaces which have moved (not been resized). The second step affects any layer surface whose surface changed size. The cursor event is sent only to that surface.

Together, these events cover all surfaces: those which moves, and those which changed size, as long as each layer surface resize is accompanied by an immediate surface resize.
2018-08-23 11:29:03 +02:00
..
config.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
cursor.c rootston: focus newly-created surfaces 2018-07-29 21:58:33 +03:00
desktop.c rootston: fire up wlr-gamma-control-unstable-v1 2018-08-02 23:33:59 +01:00
ini.c Fix gcc string truncation warnings 2018-04-13 14:37:53 +09:00
input.c rootston: fix again FreeBSD build 2018-08-16 11:22:42 +01:00
keyboard.c rootston: Double fork for keyboard bindings 2018-08-10 10:59:50 -04:00
layer_shell.c rootston/layer_shell: fix clicking after surface moved/resized 2018-08-23 11:29:03 +02:00
main.c Revert "rootston: Reap child processes" 2018-07-29 09:19:26 +01:00
meson.build virtual-keyboard: add support for the virtual-keyboard-v1 protocol 2018-05-28 10:05:55 +02:00
output.c move wlr_drm_connector_add_mode to wlr/backend/drm.h 2018-08-13 10:55:42 +03:00
rootston.ini.example rootston: Handle modeline parameter 2018-07-07 17:31:42 +02:00
seat.c Fix build on FreeBSD 2018-08-16 10:54:45 +01:00
virtual_keyboard.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
wl_shell.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
xdg_shell.c rootston: add keybinding to toggle decoration mode 2018-08-06 08:35:14 +01:00
xdg_shell_v6.c rootston: focus newly-created surfaces 2018-07-29 21:58:33 +03:00
xwayland.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00