summaryrefslogtreecommitdiff
diff options
-rw-r--r--panel/PanelMenuView.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/panel/PanelMenuView.cpp b/panel/PanelMenuView.cpp
index eb45367f3..f2aa86053 100644
--- a/panel/PanelMenuView.cpp
+++ b/panel/PanelMenuView.cpp
@@ -179,7 +179,6 @@ void PanelMenuView::SetupWindowButtons()
window_buttons_ = new WindowButtons();
window_buttons_->SetParentObject(this);
window_buttons_->monitor = monitor_;
- window_buttons_->controlled_window = active_window();
window_buttons_->opacity = 0.0f;
window_buttons_->SetLeftAndRightPadding(MAIN_LEFT_PADDING, MENUBAR_PADDING);
window_buttons_->SetMaximumHeight(panel::Style::Instance().PanelHeight(monitor_));