Merge lp://qastaging/~brandontschaefer/mir/pointer-confinement into lp://qastaging/mir
Proposed by
Brandon Schaefer
Status: | Merged |
---|---|
Approved by: | Cemil Azizoglu |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3560 |
Proposed branch: | lp://qastaging/~brandontschaefer/mir/pointer-confinement |
Merge into: | lp://qastaging/mir |
Diff against target: |
1159 lines (+429/-17) 36 files modified
examples/server_example_canonical_window_manager.cpp (+5/-0) include/server/mir/scene/surface.h (+3/-0) include/server/mir/scene/surface_creation_parameters.h (+1/-0) include/server/mir/shell/abstract_shell.h (+7/-1) include/test/mir/test/doubles/stub_surface.h (+2/-0) src/client/mir_connection.cpp (+1/-0) src/include/server/mir/input/seat.h (+3/-0) src/include/server/mir/shell/window_management_info.h (+1/-1) src/protobuf/mir_protobuf.proto (+1/-0) src/server/frontend/session_mediator.cpp (+1/-0) src/server/input/basic_seat.cpp (+10/-0) src/server/input/basic_seat.h (+2/-0) src/server/input/seat_input_device_tracker.cpp (+29/-7) src/server/input/seat_input_device_tracker.h (+6/-0) src/server/scene/basic_surface.cpp (+14/-1) src/server/scene/basic_surface.h (+6/-0) src/server/scene/surface_allocator.cpp (+2/-0) src/server/shell/abstract_shell.cpp (+23/-1) src/server/shell/canonical_window_manager.cpp (+5/-0) src/server/shell/default_configuration.cpp (+2/-1) tests/acceptance-tests/CMakeLists.txt (+1/-0) tests/acceptance-tests/test_confined_pointer.cpp (+214/-0) tests/acceptance-tests/test_surface_placement.cpp (+1/-0) tests/include/mir/test/doubles/mock_input_seat.h (+3/-0) tests/include/mir/test/doubles/mock_surface.h (+1/-0) tests/include/mir/test/doubles/stub_scene_surface.h (+3/-0) tests/integration-tests/surface_composition.cpp (+1/-0) tests/integration-tests/test_surface_stack_with_compositor.cpp (+1/-0) tests/mir_test_framework/stub_surface.cpp (+10/-0) tests/unit-tests/input/test_seat_input_device_tracker.cpp (+36/-0) tests/unit-tests/scene/test_abstract_shell.cpp (+4/-1) tests/unit-tests/scene/test_basic_surface.cpp (+8/-2) tests/unit-tests/scene/test_session_manager.cpp (+1/-0) tests/unit-tests/scene/test_surface.cpp (+4/-1) tests/unit-tests/scene/test_surface_impl.cpp (+3/-1) tests/unit-tests/scene/test_surface_stack.cpp (+14/-0) |
To merge this branch: | bzr merge lp://qastaging/~brandontschaefer/mir/pointer-confinement |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mir CI Bot | continuous-integration | Approve | |
Cemil Azizoglu (community) | Approve | ||
Kevin DuBois (community) | Approve | ||
Chris Halse Rogers | Approve | ||
Andreas Pokorny (community) | Approve | ||
Review via email:
|
Commit message
Implements pointer confinement for a surface as a spec.
Only works for a focus windows. The window manager is in charge of actually setting the surface to have pointer confinement if the spec is updated. Right now we need to depend on setting the seat in the abstract shell since its where we need to update the mouse events.
Description of the change
Implements pointer confinement for a surface as a spec.
Only works for a focus windows. The window manager is in charge of actually setting the surface to have pointer confinement if the spec is updated. Right now we need to depend on setting the seat in the abstract shell since its where we need to update the mouse events.
To post a comment you must log in.
PASSED: Continuous integration, rev:3537 /mir-jenkins. ubuntu. com/job/ mir-ci/ 1167/ /mir-jenkins. ubuntu. com/job/ build-mir/ 1314 /mir-jenkins. ubuntu. com/job/ build-0- fetch/1365 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 1356 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial/ 1356 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= clang,platform= mesa,release= vivid+overlay/ 1326 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= clang,platform= mesa,release= vivid+overlay/ 1326/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial/ 1326 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial/ 1326/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= cross-armhf, compiler= gcc,platform= android, release= vivid+overlay/ 1326 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= cross-armhf, compiler= gcc,platform= android, release= vivid+overlay/ 1326/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 1326 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 1326/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= mesa,release= xenial/ 1326 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= mesa,release= xenial/ 1326/artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /mir-jenkins. ubuntu. com/job/ mir-ci/ 1167/rebuild
https:/