diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-03 15:52:27 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-03 15:54:16 +0200 |
commit | 528054d192448f93789fedc3782550b3a80bee27 (patch) | |
tree | d70a9de05128f9316256075448c21f5d94e9f5a2 /LibGUI | |
parent | dde224fe442751b09aa858c35479d2fa69ead1cb (diff) | |
download | serenity-528054d192448f93789fedc3782550b3a80bee27.zip |
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.
Diffstat (limited to 'LibGUI')
-rw-r--r-- | LibGUI/GWindow.cpp | 2 |
1 files changed, 0 insertions, 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) { |