Merge lp:~3v1n0/unity/spread-title-flicker-fix into lp:unity

Proposed by Marco Trevisan (Treviño)
Status: Rejected
Rejected by: Marco Trevisan (Treviño)
Proposed branch: lp:~3v1n0/unity/spread-title-flicker-fix
Merge into: lp:unity
Diff against target: 14 lines (+1/-1)
1 file modified
unity-shared/PluginAdapter.cpp (+1/-1)
To merge this branch: bzr merge lp:~3v1n0/unity/spread-title-flicker-fix
Reviewer Review Type Date Requested Status
Christopher Townsend Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+190632@code.launchpad.net

Commit message

PluginAdapter: set the spread window state before spreading or the callback will get a wrong state

Description of the change

Set the state variable before actually spreading or the callback
functions will have a wrong value for IsScaleActiveForGroup

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Christopher Townsend (townsend) wrote :

Nice. +1

Will wait to globally approve until we here from Stephen.

review: Approve
Revision history for this message
Christopher Townsend (townsend) wrote :

Since this is for 7.1 as well, then globally approving.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Rejecting, as this is already in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'unity-shared/PluginAdapter.cpp'
2--- unity-shared/PluginAdapter.cpp 2013-09-14 09:56:10 +0000
3+++ unity-shared/PluginAdapter.cpp 2013-10-11 12:04:43 +0000
4@@ -972,9 +972,9 @@
5 std::size_t num_windows = windows.size();
6 if (num_windows > 1 || (force && num_windows))
7 {
8+ _spread_windows_state = true;
9 std::string const& match = MatchStringForXids(windows);
10 InitiateScale(match, state);
11- _spread_windows_state = true;
12 return true;
13 }
14 return false;