summaryrefslogtreecommitdiff
path: root/Applications/Taskbar/TaskbarWindow.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-10 16:39:23 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-10 16:39:23 +0200
commit696ada2810948ff6df7ef286ba5346c1d82c1d8c (patch)
treef8943cb26119d7b26eda9c466bce20d875516006 /Applications/Taskbar/TaskbarWindow.cpp
parent5e0577a04223e265a7f93d46598ff1c0070ce6bb (diff)
downloadserenity-696ada2810948ff6df7ef286ba5346c1d82c1d8c.zip
Taskbar: Don't unconditionally update buttons on every state change.
Diffstat (limited to 'Applications/Taskbar/TaskbarWindow.cpp')
-rw-r--r--Applications/Taskbar/TaskbarWindow.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Applications/Taskbar/TaskbarWindow.cpp b/Applications/Taskbar/TaskbarWindow.cpp
index 0cfa8a7d2e..344161e450 100644
--- a/Applications/Taskbar/TaskbarWindow.cpp
+++ b/Applications/Taskbar/TaskbarWindow.cpp
@@ -97,7 +97,6 @@ void TaskbarWindow::wm_event(GWMEvent& event)
window.button()->set_caption(changed_event.title());
}
window.button()->set_checked(changed_event.is_active());
- window.button()->update();
break;
}
default: