Merge lp:~3v1n0/unity/panel-title-maximized-on-restart-title-fix into lp:unity

Proposed by Marco Trevisan (Treviño) on 2015-12-16
Status: Merged
Approved by: Andrea Azzarone on 2015-12-17
Approved revision: 4055
Merged at revision: 4066
Proposed branch: lp:~3v1n0/unity/panel-title-maximized-on-restart-title-fix
Merge into: lp:unity
Diff against target: 11 lines (+0/-1)
1 file modified
panel/PanelMenuView.cpp (+0/-1)
To merge this branch: bzr merge lp:~3v1n0/unity/panel-title-maximized-on-restart-title-fix
Reviewer Review Type Date Requested Status
Andrea Azzarone (community) 2015-12-16 Approve on 2015-12-17
PS Jenkins bot (community) continuous-integration Approve on 2015-12-16
Review via email: mp+280730@code.launchpad.net

Commit message

PanelMenuView: ensure that the maximized window is computed when setting the monitor

To post a comment you must log in.
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Andrea Azzarone (azzar1) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'panel/PanelMenuView.cpp'
2--- panel/PanelMenuView.cpp 2015-11-05 14:54:13 +0000
3+++ panel/PanelMenuView.cpp 2015-12-16 15:22:39 +0000
4@@ -179,7 +179,6 @@
5 window_buttons_ = new WindowButtons();
6 window_buttons_->SetParentObject(this);
7 window_buttons_->monitor = monitor_;
8- window_buttons_->controlled_window = active_window();
9 window_buttons_->opacity = 0.0f;
10 window_buttons_->SetLeftAndRightPadding(MAIN_LEFT_PADDING, MENUBAR_PADDING);
11 window_buttons_->SetMaximumHeight(panel::Style::Instance().PanelHeight(monitor_));