Merge lp:~brandontschaefer/unity/multi-monitor-dash-hud-drawing-fix into lp:unity
Proposed by
Brandon Schaefer
Status: | Merged |
---|---|
Approved by: | Brandon Schaefer |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2675 |
Proposed branch: | lp:~brandontschaefer/unity/multi-monitor-dash-hud-drawing-fix |
Merge into: | lp:unity |
Diff against target: |
365 lines (+88/-32) 9 files modified
dash/DashController.cpp (+7/-2) dash/DashView.cpp (+6/-6) hud/HudController.cpp (+14/-8) hud/HudController.h (+1/-1) hud/HudView.cpp (+3/-0) tests/autopilot/unity/emulators/dash.py (+7/-2) tests/autopilot/unity/emulators/hud.py (+5/-0) tests/autopilot/unity/tests/test_dash.py (+27/-11) tests/autopilot/unity/tests/test_hud.py (+18/-2) |
To merge this branch: | bzr merge lp:~brandontschaefer/unity/multi-monitor-dash-hud-drawing-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
jenkins (community) | continuous-integration | Needs Fixing | |
Tim Penhey (community) | Approve | ||
Review via email: mp+123002@code.launchpad.net |
Commit message
Dash and Hud get drawn correctly no matter which monitor the mouse is in.
Description of the change
=== Problem ===
Anytime the Dash or Hud would get drawn it would ask what is the ideal monitor geo...so when your mouse was in another monitor it would say that monitor is the ideal place to draw the Dash or Hud.
=== Fix ===
If the Dash or Hud is visible use that monitor rather then trying to find it again and again.
=== Tests ===
AP Tests
To post a comment you must log in.
Why is it called target_monitor for hud but ideal_monitor for the dash?
Could we get some consistency there?