mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
WindowServer: Force cursor invalidation when composing immediately
And invalidate the cursor before creating a new drag-and-drop overlay. Fixes dnd overlay bitmaps failing to draw at the correct location immedately after changing cursors.
This commit is contained in:
parent
9bcd7dc0ce
commit
db852548ce
2 changed files with 2 additions and 2 deletions
|
@ -857,7 +857,7 @@ Gfx::IntRect Compositor::current_cursor_rect() const
|
|||
|
||||
void Compositor::invalidate_cursor(bool compose_immediately)
|
||||
{
|
||||
if (m_invalidated_cursor)
|
||||
if (m_invalidated_cursor && !compose_immediately)
|
||||
return;
|
||||
m_invalidated_cursor = true;
|
||||
m_invalidated_any = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue