FreeRDP/uwac
Jonas Ådahl 020fdf491d uwac/input: Don't pass hotspot as offset when attaching cursor buffer
Passing a non-zero offset to cursor buffer and then calling
wl_pointer.set_cursor doesn't make much sense, as any offset will
immediately be reset. The protocol specifies the cursor set by
wl_pointer.set_cursor to be

> The parameters hotspot_x and hotspot_y define the position of
> the pointer surface relative to the pointer location. Its
> top-left corner is always at (x, y) - (hotspot_x, hotspot_y),
> where (x, y) are the coordinates of the pointer location, in
> surface-local coordinates.

This leaves no room available for any previously set offsets to be kept
in response to wl_pointer.set_cursor.

(cherry picked from commit 5b09cd57a7)
2023-01-13 21:40:03 +01:00
..
include Added app_id on wayland client 2022-04-27 08:16:49 +02:00
libuwac uwac/input: Don't pass hotspot as offset when attaching cursor buffer 2023-01-13 21:40:03 +01:00
protocols Added KDE server side window decoration interface as fallback. 2019-01-22 17:10:32 +01:00
CMakeLists.txt [uwac] Add support for building against pixman 2022-11-28 13:27:09 +01:00
uwac.pc.in Include major version number in library names 2017-01-16 11:11:58 +01:00
uwacConfig.cmake.in uwac: generate .pc and cmake find-module 2016-02-25 23:47:32 +01:00
uwacVersion.cmake uwac: generate .pc and cmake find-module 2016-02-25 23:47:32 +01:00