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: a133334270
("xwayland: Add XTEST support using EIS")
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1531>
This commit is contained in:
parent
1fce9f43ab
commit
7745fde24e
|
@ -584,6 +584,7 @@ xwl_send_event_to_ei(struct xwl_ei_client *xwl_ei_client,
|
||||||
} else if (detail == 7) {
|
} else if (detail == 7) {
|
||||||
ei_device_scroll_discrete(ei_device, SCROLL_STEP, 0);
|
ei_device_scroll_discrete(ei_device, SCROLL_STEP, 0);
|
||||||
}
|
}
|
||||||
|
ei_device_frame(ei_device, ei_now(ei));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case KeyPress:
|
case KeyPress:
|
||||||
|
|
Loading…
Reference in New Issue