mutter/src
Pascal Nowack a5d692582d backends/x11: Emit discrete scroll events for accumulated smooth events
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>
2021-02-17 21:39:03 +01:00
..
backends backends/x11: Emit discrete scroll events for accumulated smooth events 2021-02-17 21:39:03 +01:00
compositor compositor: Sync pointer after begin/end modal on X11 2021-02-14 13:23:29 +00:00
core core: Don't show copyright when printing version 2021-02-09 07:46:10 +00:00
meta util: Add 'remote-desktop' debug topic 2021-02-05 16:44:27 +00:00
tests tests: Add test for destroyed frame clock free timeline actor 2021-02-08 19:40:05 +00:00
ui frames: Consider events on fullscreen windows to be on the client area 2021-01-28 15:30:29 +00:00
wayland wayland: Avoid automatically decoupling source/offer after grab 2021-02-09 19:33:13 +00:00
x11 x11: Check for XCB reply 2021-02-09 19:06:22 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build clutter: Remove CLUTTER_ENABLE_EXPERIMENTAL_API 2021-02-05 17:05:19 +00:00
meta-private-enum-types.c.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00
meta-private-enum-types.h.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml x11: Support the CTM (color transform matrix) RandR property 2021-01-11 13:44:54 +00:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml remote-desktop/session: Added boiler plate for clipboard integration 2021-02-05 16:44:27 +00:00
org.gnome.Mutter.ScreenCast.xml screen-cast: Add 'is-recording' option to record methods 2020-07-31 10:41:15 +02:00