From 528054d192448f93789fedc3782550b3a80bee27 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 3 Apr 2019 15:52:27 +0200 Subject: [PATCH] GWindow: Don't ignore update(), it should repaint the whole window. This was causing some apps to have an empty window on startup since the call to update() in show() was effectively a no-op. --- LibGUI/GWindow.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/LibGUI/GWindow.cpp b/LibGUI/GWindow.cpp index 3c9bc8bf73..a66e6002ae 100644 --- a/LibGUI/GWindow.cpp +++ b/LibGUI/GWindow.cpp @@ -262,8 +262,6 @@ bool GWindow::is_visible() const void GWindow::update(const Rect& a_rect) { - if (a_rect.is_empty()) - return; if (!m_window_id) return; for (auto& pending_rect : m_pending_paint_event_rects) {