Merge lp://staging/~jassmith/unity/unity.mm-options into lp://staging/unity
Proposed by
Jason Smith
Status: | Merged |
---|---|
Approved by: | Jason Smith |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2094 |
Proposed branch: | lp://staging/~jassmith/unity/unity.mm-options |
Merge into: | lp://staging/unity |
Diff against target: |
617 lines (+191/-61) 16 files modified
manual-tests/MMOptions.txt (+22/-0) plugins/unityshell/src/AbstractLauncherIcon.h (+2/-0) plugins/unityshell/src/DashController.cpp (+16/-4) plugins/unityshell/src/DashController.h (+2/-0) plugins/unityshell/src/Launcher.cpp (+48/-32) plugins/unityshell/src/Launcher.h (+3/-0) plugins/unityshell/src/LauncherController.cpp (+44/-16) plugins/unityshell/src/LauncherController.h (+1/-0) plugins/unityshell/src/LauncherIcon.cpp (+9/-0) plugins/unityshell/src/LauncherIcon.h (+2/-0) plugins/unityshell/src/LauncherOptions.cpp (+3/-0) plugins/unityshell/src/LauncherOptions.h (+2/-0) plugins/unityshell/src/MockLauncherIcon.h (+5/-0) plugins/unityshell/src/UScreen.cpp (+1/-9) plugins/unityshell/src/unityshell.cpp (+10/-0) plugins/unityshell/unityshell.xml.in (+21/-0) |
To merge this branch: | bzr merge lp://staging/~jassmith/unity/unity.mm-options |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | Approve | ||
Review via email: mp+97133@code.staging.launchpad.net |
Description of the change
== The Problem ==
Design requested changes to multi-monitor to provide support for toggling barriers and multiple-launchers
== The Solution ==
Implement the options
== Testing ==
Interactions should be covered under existing tests
To post a comment you must log in.
You hit my rule of three, same code in three places should be a simple method:
int get_monitor(bool use_primary) :GetDefault( ); >GetPrimaryMoni tor(); >GetMonitorWith Mouse() ;
{
UScreen *uscreen = UScreen:
if (use_primary)
return uscreen-
else
return uscreen-
}
// ... then >GetMonitorGeom etry(get_ monitor( use_primary) );
auto monitor_geo = uscreen-