Skip to content

backends/x11/windowed: Don't create cursor pixmap from null image

Kai Uwe Broulik requested to merge work/kbrouli/x11windowed-null-cursor into master

There's no point and it results in a "QImage::scaled: Image is a null image" warning.


It appears the visual effect of trying to set an empty cursor pixmap and just setting XCB_CURSOR_NONE results in the default pointer being used.

The null cursor on startup comes from the InputRedirectionCursor.

Kai Uwe Broulik kai_uwe.broulik@mbition.io on behalf of MBition GmbH

https://github.com/mercedes-benz/daimler-foss/blob/master/PROVIDER_INFORMATION.md

Merge request reports