xserver/hw
Olivier Fourdan 6ad6517a79 xwayland: Fix cursor color
When using colored X11 cursors, the colors would appear wrong, yellow
would show white, green would show as cyan, and blue would show black
whereas red would show fine.

This is because the code expanding the cursor data accounts for green
for both green and blue channels. Funnily this bug has been there from
the beginning.

Fix the issue by correctly account for the color channels.

Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1303
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
2022-02-11 10:33:10 +01:00
..
kdrive xephyr: Don't check for SeatId anymore 2022-02-03 22:34:03 +00:00
vfb Remove autotools support 2021-10-27 13:15:40 +03:00
xfree86 xf86: Accept devices with the 'hyperv_drm' driver 2022-01-29 11:20:34 +00:00
xnest Remove autotools support 2021-10-27 13:15:40 +03:00
xquartz Remove autotools support 2021-10-27 13:15:40 +03:00
xwayland xwayland: Fix cursor color 2022-02-11 10:33:10 +01:00
xwin meson: Fix build of xwinclip tool when xcb is installed in non-default location 2021-11-04 13:03:25 +00:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00