Merge lp:~vanvugt/mir/clarify-surface-size-pos into lp:mir
Proposed by
Daniel van Vugt
Status: | Merged |
---|---|
Approved by: | Robert Carr |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1613 |
Proposed branch: | lp:~vanvugt/mir/clarify-surface-size-pos |
Merge into: | lp:mir |
Diff against target: |
343 lines (+85/-43) 14 files modified
include/server/mir/frontend/surface.h (+2/-1) include/server/mir/input/surface.h (+3/-5) include/server/mir/scene/surface.h (+9/-2) include/test/mir_test_doubles/mock_frontend_surface.h (+1/-1) include/test/mir_test_doubles/mock_input_surface.h (+4/-9) src/server/frontend/session_mediator.cpp (+3/-2) src/server/frontend/surface.cpp (+1/-1) src/server/input/android/android_input_window_handle.cpp (+6/-7) src/server/scene/basic_surface.cpp (+16/-1) src/server/scene/basic_surface.h (+3/-1) tests/unit-tests/frontend/test_session_mediator.cpp (+2/-2) tests/unit-tests/input/android/test_android_input_target_enumerator.cpp (+2/-3) tests/unit-tests/input/android/test_android_input_window_handle.cpp (+4/-6) tests/unit-tests/scene/test_basic_surface.cpp (+29/-2) |
To merge this branch: | bzr merge lp:~vanvugt/mir/clarify-surface-size-pos |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Carr (community) | Approve | ||
Alexandros Frantzis (community) | Approve | ||
Alberto Aguirre (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Alan Griffiths | Approve | ||
Review via email: mp+218578@code.launchpad.net |
Commit message
Clarify size/position interfaces in the Surface classes to be less ambiguous
when it comes to more advanced (future) behaviour such as window frames
and decoration.
This initial work just clarifies the interfaces by renaming functions. The
related behavioural changes will come later.
The new naming scheme is:
size(), top_left() - Describes the whole surface (window) including
client_size() - Describes the size of the client rectangle within the
input_*() - Input coordinate testing.
To post a comment you must log in.
LGTM
(Have you stopped setting the description for a reason?)