a5d692582d
MetaVirtualInputDeviceX11 currently doesn't handle smooth scroll events at all. So, if a user of the remote desktop API uses smooth scroll events, then only the wayland backend handles these events. The user of the remote desktop API however, might not know which backend is being used and actually the user should not even have to care about it. Actual smooth events cannot be emulated in the X11 events. What can be done however is accumulating smooth events and then when the accumulated steps surpass the DISCRETE_SCROLL_STEP value, emit a discrete scroll event. So, do exactly that, to make smooth scroll events work when the remote desktop API is used with the x11 backend. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1727> |
||
---|---|---|
.. | ||
backends | ||
compositor | ||
core | ||
meta | ||
tests | ||
ui | ||
wayland | ||
x11 | ||
libmutter.pc.in | ||
meson.build | ||
meta-private-enum-types.c.in | ||
meta-private-enum-types.h.in | ||
org.freedesktop.login1.xml | ||
org.gnome.Mutter.DisplayConfig.xml | ||
org.gnome.Mutter.IdleMonitor.xml | ||
org.gnome.Mutter.RemoteDesktop.xml | ||
org.gnome.Mutter.ScreenCast.xml |