Skip to content

Convert cursor bitmap to supported format

Michael Labiuk requested to merge shanechko/qtwayland:fixBmCursor into kde/5.15

Fix issue with KStars cursor for wayland via backport 45ec1362

The 1-bit image formats QImage::Format_Mono and QImage::Format_MonoLSB used by cursor bitmaps don't have a corresponding wl_shm_format.

Therefore, convert to a supported image format as necessary to make such bitmap cursors work on Wayland as well.

Fixes: QTBUG-95434 Change-Id: I402fd870b301ddc01075251b66f2cf7cc1923133 Reviewed-by: Eskil Abrahamsen Blomfeldt eskil.abrahamsen-blomfeldt@qt.io

Merge request reports