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
=== modified file 'unity-shared/PluginAdapter.cpp'
--- unity-shared/PluginAdapter.cpp 2013-09-14 09:56:10 +0000
+++ unity-shared/PluginAdapter.cpp 2013-10-11 12:04:43 +0000
@@ -972,9 +972,9 @@
972 std::size_t num_windows = windows.size();972 std::size_t num_windows = windows.size();
973 if (num_windows > 1 || (force && num_windows))973 if (num_windows > 1 || (force && num_windows))
974 {974 {
975 _spread_windows_state = true;
975 std::string const& match = MatchStringForXids(windows);976 std::string const& match = MatchStringForXids(windows);
976 InitiateScale(match, state);977 InitiateScale(match, state);
977 _spread_windows_state = true;
978 return true;978 return true;
979 }979 }
980 return false;980 return false;