FreeRDP/uwac
Jonas Ådahl 5b09cd57a7 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.
2022-11-16 19:17:08 +01:00
..
include reformatted 2022-06-23 08:48:39 +02:00
libuwac uwac/input: Don't pass hotspot as offset when attaching cursor buffer 2022-11-16 19:17:08 +01:00
protocols Added KDE server side window decoration interface as fallback. 2019-01-22 17:10:32 +01:00
templates Fixed #8090: Duplicate definition of strndup (#8102) 2022-08-02 09:15:38 +02:00
CMakeLists.txt Increase C standard to C11 2022-06-03 08:51:40 +02:00