Merge lp:~smspillaz/unity/unity.fix_868930 into lp:unity
Proposed by
Sam Spilsbury
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 1700 | ||||
Proposed branch: | lp:~smspillaz/unity/unity.fix_868930 | ||||
Merge into: | lp:unity | ||||
Diff against target: |
107 lines (+22/-15) 3 files modified
plugins/unityshell/src/PluginAdapter.cpp (+9/-9) plugins/unityshell/src/PluginAdapter.h (+1/-1) plugins/unityshell/src/unityshell.cpp (+12/-5) |
||||
To merge this branch: | bzr merge lp:~smspillaz/unity/unity.fix_868930 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | conditional | Approve | |
Review via email: mp+78358@code.launchpad.net |
Description of the change
Fix bug 868930
To post a comment you must log in.
How about:
bool maximized = PluginAdapter: :Default( )->MaximizeIfBi gEnough( window) ;
if (!maximized)
I find this easier to read, and the compiler will optimise the temporary out.