WindowServer: Fix crash when moving mouse out of bounds

This commit is contained in:
Bananymous 2025-06-26 11:18:01 +03:00
parent bc06926702
commit 4fa40de557
1 changed files with 2 additions and 1 deletions

View File

@ -844,7 +844,8 @@ void WindowServer::invalidate(Rectangle area)
}
}
mark_pending_sync(cursor_area);
if (auto fb_overlap = cursor_area.get_overlap(m_framebuffer.area()); fb_overlap.has_value())
mark_pending_sync(fb_overlap.value());
}
return;