diff --git a/Userland/Libraries/LibGUI/Window.cpp b/Userland/Libraries/LibGUI/Window.cpp index 5dbd41b5ea..6e5f1cfe8c 100644 --- a/Userland/Libraries/LibGUI/Window.cpp +++ b/Userland/Libraries/LibGUI/Window.cpp @@ -367,11 +367,6 @@ void Window::handle_mouse_event(MouseEvent& event) if (event.buttons() != 0 && !m_automatic_cursor_tracking_widget) m_automatic_cursor_tracking_widget = *result.widget; result.widget->dispatch_event(local_event, this); - - if (!m_pending_paint_event_rects.is_empty()) { - MultiPaintEvent paint_event(move(m_pending_paint_event_rects), size()); - handle_multi_paint_event(paint_event); - } } void Window::handle_multi_paint_event(MultiPaintEvent& event)