Merge lp:~vanvugt/mir/fix-1398294 into lp:mir
Proposed by
Daniel van Vugt
Status: | Merged |
---|---|
Approved by: | Daniel van Vugt |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2130 |
Proposed branch: | lp:~vanvugt/mir/fix-1398294 |
Merge into: | lp:mir |
Diff against target: |
95 lines (+33/-15) 2 files modified
src/server/shell/graphics_display_layout.cpp (+19/-13) tests/unit-tests/shell/test_graphics_display_layout.cpp (+14/-2) |
To merge this branch: | bzr merge lp:~vanvugt/mir/fix-1398294 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cemil Azizoglu (community) | Approve | ||
Alan Griffiths | Approve | ||
Alexandros Frantzis (community) | Needs Information | ||
Review via email: mp+243765@code.launchpad.net |
Commit message
Ensure fullscreen'ing always succeeds in choosing a screen, if there
are any. (LP: #1398294)
Also ensure we pick the most appropriate one.
To post a comment you must log in.
33 + geometry::Rectangle best = rect;
Don't we want get_output_for() to return an empty rectangle (i.e. no output) if the window doesn't intersect with any screen?