diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-02-07 14:17:56 +0100 |
---|---|---|
committer | Tudor Brindus <me@tbrindus.ca> | 2021-02-07 20:18:53 -0500 |
commit | 63420a2caa728dd52121fc4b9a3d6d7a4f2c3444 (patch) | |
tree | e3f265fcd1fb3e768e1af3a69f5ba932ed5cf901 /swaybar/input.c | |
parent | 169b90f90b518b2ca2d4bc445d6bfb05b57a20df (diff) |
swaynag: Use position from wl_pointer.enter
Only wl_pointer.motion was used to update pointer position, which would
cause issues if the pointer was not moved prior to wl_pointer.button.
This also fixes touch input through wl_pointer emulation, which fires
wl_pointer.button immediately after wl_pointer.enter.
Closes: https://github.com/swaywm/sway/issues/5991
Diffstat (limited to 'swaybar/input.c')
0 files changed, 0 insertions, 0 deletions