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
parent 3b901e5b2b
commit 38bc81015b

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;