GWidget: Ignore updates if self has !updates_enabled().

We were only checking when propagating updates to parents, duh.
This commit is contained in:
Andreas Kling 2019-05-02 04:19:59 +02:00
parent 6d5507313e
commit 49d0cdabac
Notes: sideshowbarker 2024-07-19 14:21:29 +09:00

View file

@ -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) {