Merge lp:~vanvugt/unity/fix-742544-trunk into lp:unity
Status: | Work in progress |
---|---|
Proposed branch: | lp:~vanvugt/unity/fix-742544-trunk |
Merge into: | lp:unity |
Diff against target: |
148 lines (+91/-21) 1 file modified
plugins/unityshell/src/UScreen.cpp (+91/-21) |
To merge this branch: | bzr merge lp:~vanvugt/unity/fix-742544-trunk |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sam Spilsbury (community) | Needs Fixing | ||
Review via email: mp+79492@code.launchpad.net |
Description of the change
Fixed: Launcher/dash ignoring primary monitor setting. (LP: #742544)
The primary monitor according to Unity is now chosen in this order:
1. If there is only one monitor, then it's obvious.
2. Primary monitor as set in the Displays control panel (Xrandr).
3. Primary monitor as defined by xorg option TwinViewXineram
used by NVIDIA.
4. Laptop screen, if one can be found.
5. Left-most monitor.
Unmerged revisions
- 1724. By Daniel van Vugt
-
Fix incorrect parsing of Option lines that don't start with spaces.
- 1723. By Daniel van Vugt
-
Added detection of NVIDIA/
TwinViewXineram a primary monitor settings.
The primary monitor according to Unity is now chosen in this order:
1. If there is only one monitor, then it's obvious.
2. Primary monitor as set in the Displays control panel (Xrandr).
3. Primary monitor as defined by xorg option TwinViewXineramaInfoOrder
used by NVIDIA.
4. Laptop screen, if one can be found.
5. Left-most monitor.
(LP: #742544) - 1722. By Daniel van Vugt
-
Fixed: Launcher ignoring primary monitor setting. (LP: #742544)
The primary monitor according to Unity is now chosen in this order:
1. Primary monitor if set in the Displays control panel (XRandR).
2. Laptop screen, if one can be found.
3. Left-most monitor.
Of course the "preview" in display settings panel should use the same algorithm. I will do it fixing Bug #875644.