diff --git a/Servers/WindowServer/WSScreen.cpp b/Servers/WindowServer/WSScreen.cpp index 2bff83f290..210da79663 100644 --- a/Servers/WindowServer/WSScreen.cpp +++ b/Servers/WindowServer/WSScreen.cpp @@ -79,8 +79,8 @@ void WSScreen::on_receive_mouse_data(int dx, int dy, unsigned buttons) auto message = make(WSEvent::MouseMove, m_cursor_location, buttons, MouseButton::None, m_modifiers); WSEventLoop::the().post_event(WSWindowManager::the(), move(message)); } - // NOTE: Invalidate the cursor if it moved, or if the left button changed state (for the cursor color inversion.) - if (m_cursor_location != prev_location || changed_buttons & (unsigned)MouseButton::Left) + + if (m_cursor_location != prev_location) WSWindowManager::the().invalidate_cursor(); }