From 49d0cdabac75f764df86e8dbadca65fa83cb05ef Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 2 May 2019 04:19:59 +0200 Subject: [PATCH] GWidget: Ignore updates if self has !updates_enabled(). We were only checking when propagating updates to parents, duh. --- LibGUI/GWidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/LibGUI/GWidget.cpp b/LibGUI/GWidget.cpp index fedecc8b74..985ed540c1 100644 --- a/LibGUI/GWidget.cpp +++ b/LibGUI/GWidget.cpp @@ -293,6 +293,9 @@ void GWidget::update(const Rect& rect) if (!is_visible()) return; + if (!updates_enabled()) + return; + GWindow* window = m_window; GWidget* parent = parent_widget(); while (parent) {