mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:07:46 +00:00
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:
parent
3b901e5b2b
commit
38bc81015b
1 changed files with 1 additions and 1 deletions
|
@ -1142,7 +1142,7 @@ void Window::update_cursor()
|
||||||
else
|
else
|
||||||
new_cursor = m_cursor;
|
new_cursor = m_cursor;
|
||||||
|
|
||||||
if (m_effective_cursor == new_cursor)
|
if (!m_custom_cursor && m_effective_cursor == new_cursor)
|
||||||
return;
|
return;
|
||||||
m_effective_cursor = new_cursor;
|
m_effective_cursor = new_cursor;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue