Merge lp:~albaguirre/mir/zero-sized-images-hide-cursor into lp:mir
Proposed by
Alberto Aguirre
Status: | Merged |
---|---|
Approved by: | Alan Griffiths |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3146 |
Proposed branch: | lp:~albaguirre/mir/zero-sized-images-hide-cursor |
Merge into: | lp:mir |
Diff against target: |
345 lines (+67/-35) 4 files modified
src/server/input/cursor_controller.cpp (+12/-6) tests/acceptance-tests/throwback/test_client_cursor_api.cpp (+1/-1) tests/unit-tests/graphics/nested/test_nested_cursor.cpp (+1/-1) tests/unit-tests/input/test_cursor_controller.cpp (+53/-27) |
To merge this branch: | bzr merge lp:~albaguirre/mir/zero-sized-images-hide-cursor |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alan Griffiths | Approve | ||
Alexandros Frantzis (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+278863@code.launchpad.net |
Commit message
cursor controller: zero sized images hide cursor
A given surface may have an attached zero sized cursor image.
Make the cursor controller hide the cursor in such cases.
Description of the change
cursor controller: zero sized images hide cursor
A given surface may have an attached zero sized cursor image.
Make the cursor controller hide the cursor in such cases.
This also helps qtmir upcoming surface cursor support which attaches named but zero-sized cursor images to surfaces, which before this MP led to the nested cursor attempt to allocate a zero-sized buffer stream instead of hiding the cursor.
To post a comment you must log in.
PASSED: Continuous integration, rev:3135 jenkins. qa.ubuntu. com/job/ mir-ci/ 5707/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/5083 jenkins. qa.ubuntu. com/job/ mir-clang- vivid-amd64- build/3989 jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/5030 jenkins. qa.ubuntu. com/job/ mir-mediumtests -xenial- touch/38/ console jenkins. qa.ubuntu. com/job/ mir-xenial- amd64-ci/ 37 jenkins. qa.ubuntu. com/job/ mir-xenial- amd64-ci/ 37/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-xenial- i386-ci/ 37 jenkins. qa.ubuntu. com/job/ mir-xenial- i386-ci/ 37/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 5030 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 5030/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- touch/7569 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 25602 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- xenial- armhf/36/ console
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/5707/ rebuild
http://