Wayland has 3 types of scrolling events:
- axis. Used for e.g., touchpad 2 finger smooth scrolling
- axis_discrete. Used for mouse scroll wheels (i.e., notches)
- axis_value120. Used for high resolution input devices
Wine currently only supports axis_discrete, meaning that
2 finger scroll events get ignored.
This commit tries to add basic support for axis scrolling events,
by translating the smooth motion in scroll increments using some
primitive assumptions about line height and number of lines to scroll.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4809
This re-implementation removed unnecessary API call to GdipGetPathPoints and avoids allocating memory unnecessarily.
It is also quite likely that this API doesn't ever return OutOfMemory errors.
Signed-off-by: David Kahurani k.kahurani(a)gmail.com
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4789
Checking flags of the thread desktop to determine whether virtual desktop is on is unreliable.
For example, CEF applications create their own desktop and so is_virtual_desktop() could incorrectly
report that virtual desktop is off.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55810
--
v2: server: inherit DF_WINE_CREATE_DESKTOP when creating a non-root desktop.
https://gitlab.winehq.org/wine/wine/-/merge_requests/4786