summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.h
diff options
context:
space:
mode:
authornanahi <130121847+na-na-hi@users.noreply.github.com>2024-02-13 01:05:53 -0500
committerDudemanguy <random342@airmail.cc>2024-02-17 16:09:41 +0000
commita6ae2e7e602a634955c541b2d186c6dd23c1e9c3 (patch)
tree5a33ac865e2004a3d1ccce3e2cbac718181d490a /video/out/wayland_common.h
parent04bc6a4a43908218ee25408ddc249b970b6d521b (diff)
downloadmpv-a6ae2e7e602a634955c541b2d186c6dd23c1e9c3.tar.bz2
mpv-a6ae2e7e602a634955c541b2d186c6dd23c1e9c3.tar.xz
wayland_common: handle scroll accumulation for each seat
Since it's needed to determine whether an axis event has axis_value120, do this per seat to avoid interference between seats.
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r--video/out/wayland_common.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h
index 281f4a3c03..e5f676e399 100644
--- a/video/out/wayland_common.h
+++ b/video/out/wayland_common.h
@@ -144,11 +144,6 @@ struct vo_wayland_state {
/* Input */
struct wl_list seat_list;
struct xkb_context *xkb_context;
- double axis_value_vertical;
- int32_t axis_value120_vertical;
- double axis_value_horizontal;
- int32_t axis_value120_horizontal;
- bool axis_value120_scroll;
/* DND */
struct wl_data_device_manager *dnd_devman;