swayfx/sway
Tudor Brindus 6ea45395c7 input/pointer: send pointer enter event on confine warp
The spec has this to say about sending events on confine creation:

  Whenever the confinement is activated, it is guaranteed that the
surface the pointer is confined to will already have received pointer
focus and that the pointer will be within the region passed to the
request creating this object.

...and on region update:

  If warped, a wl_pointer.motion event will be emitted, but no
wp_relative_pointer.relative_motion event.

Prior to this patch, sway did neither, and updated the hardware cursor
position without notifying the underlying surface until the next motion
event. This led to inconsistent results, especially in applications that
draw their own software cursor.
2020-05-28 09:44:00 +02:00
..
commands commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
config config/output: reconfigure input devices after full output init 2020-04-26 09:13:39 +02:00
desktop Fix typos in comments 2020-05-21 10:52:59 +02:00
input input/pointer: send pointer enter event on confine warp 2020-05-28 09:44:00 +02:00
tree commands: Add per-view shortcuts_inhibitor command 2020-05-13 21:22:16 -04:00
commands.c Remove code related to the security features 2020-05-21 10:57:00 +02:00
config.c Remove code related to the security features 2020-05-21 10:57:00 +02:00
criteria.c Introduce pid criteria token 2020-02-27 14:03:22 +01:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c ipc: show marks of containers without view in tree 2020-05-22 08:21:22 +02:00
ipc-server.c Remove code related to the security features 2020-05-21 10:57:00 +02:00
main.c config: fix validation exit code and log level 2020-02-11 16:02:11 +01:00
meson.build Remove code related to the security features 2020-05-21 10:57:00 +02:00
server.c Log Xwayland startup failures 2020-05-27 18:58:23 +02:00
sway-bar.5.scd swaybar: complete barconfig_update event handling 2019-09-04 16:48:50 -10:00
sway-input.5.scd fix typos in sway-input.5.scd 2020-04-29 12:43:34 +02:00
sway-ipc.7.scd Add each view's shell to JSON description 2020-04-27 20:37:57 -04:00
sway-output.5.scd Simplify repaint scheduling documentation 2020-05-11 10:36:33 +02:00
sway.1.scd add dots to man 2020-04-14 10:10:35 +02:00
sway.5.scd sway.5: make formatting more consistent 2020-05-20 14:11:34 +02:00
swaynag.c Rename symbol set_cloexec to sway_set_cloexec, remove duplicates. 2019-11-01 12:41:08 -04:00
xdg_decoration.c Fix xdg-decoration unconfigured if set before first commit 2019-05-03 15:37:32 -06:00