LibGUI: Update the window cursor if it was provided as a bitmap

This condition rejected almost every bitmap cursor change.
This commit is contained in:
Karol Kosek 2021-09-19 23:40:55 +02:00 committed by Andreas Kling
commit 38bc81015b
Notes: sideshowbarker 2024-07-18 03:36:53 +09:00

View file

@ -1142,7 +1142,7 @@ void Window::update_cursor()
else
new_cursor = m_cursor;
if (m_effective_cursor == new_cursor)
if (!m_custom_cursor && m_effective_cursor == new_cursor)
return;
m_effective_cursor = new_cursor;