summaryrefslogtreecommitdiff
path: root/Userland/Services/WindowServer/Compositor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/WindowServer/Compositor.cpp')
-rw-r--r--Userland/Services/WindowServer/Compositor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WindowServer/Compositor.cpp b/Userland/Services/WindowServer/Compositor.cpp
index d41c656355..59aa87780d 100644
--- a/Userland/Services/WindowServer/Compositor.cpp
+++ b/Userland/Services/WindowServer/Compositor.cpp
@@ -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;