summaryrefslogtreecommitdiff
path: root/LibGUI
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-03 15:52:27 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-03 15:54:16 +0200
commit528054d192448f93789fedc3782550b3a80bee27 (patch)
treed70a9de05128f9316256075448c21f5d94e9f5a2 /LibGUI
parentdde224fe442751b09aa858c35479d2fa69ead1cb (diff)
downloadserenity-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.cpp2
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) {