diff options
author | Joshua Ashton <joshua@froggi.es> | 2024-05-11 07:25:48 +0100 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2024-05-13 13:43:07 +0200 |
commit | 3f4745cc4adcc509d81bcf9ff368b28a1e6e828d (patch) | |
tree | c76a5387f92e9d9d097ad4800afd0a0a4eb8c751 | |
parent | 88ab664fab6eab0a5bd27c137260351a44902156 (diff) |
xwayland: Send ei_device_frame on device_scroll_discrete
This fixes the scroll action in Steam Input in SteamOS/Gamescope when using the new libeis backend.
Fixes: a13333427072dfb27792c5c9ff22ed145ede0f0a ("xwayland: Add XTEST support using EIS")
Signed-off-by: Joshua Ashton <joshua@froggi.es>
(cherry picked from commit 7745fde24e4a3483be991918b305d066967a88c1)
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1535>
-rw-r--r-- | hw/xwayland/xwayland-xtest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xwayland/xwayland-xtest.c b/hw/xwayland/xwayland-xtest.c index 89de93afc..1b870aa63 100644 --- a/hw/xwayland/xwayland-xtest.c +++ b/hw/xwayland/xwayland-xtest.c @@ -582,6 +582,7 @@ xwl_send_event_to_ei(struct xwl_ei_client *xwl_ei_client, } else if (detail == 7) { ei_device_scroll_discrete(ei_device, SCROLL_STEP, 0); } + ei_device_frame(ei_device, ei_now(ei)); } break; case KeyPress: |