WindowServer: Fix crash when moving mouse out of bounds
This commit is contained in:
parent
bc06926702
commit
4fa40de557
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue