Merge lp:~afrantzis/mir/fix-1462088-update-cursor-on-first-frame-posted into lp:mir
Status: | Merged |
---|---|
Approved by: | Daniel van Vugt |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2723 |
Proposed branch: | lp:~afrantzis/mir/fix-1462088-update-cursor-on-first-frame-posted |
Merge into: | lp:mir |
Diff against target: |
85 lines (+52/-1) 2 files modified
src/server/input/cursor_controller.cpp (+9/-1) tests/unit-tests/input/test_cursor_controller.cpp (+43/-0) |
To merge this branch: | bzr merge lp:~afrantzis/mir/fix-1462088-update-cursor-on-first-frame-posted |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Approve | ||
Kevin DuBois (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email:
|
Commit message
input: Update cursor when the first frame of a surface is posted
This MP fixes lp:1462088, which occurs when the request for disabling the cursor happens to reach the host server before the first buffer of the nested framebuffer surface. In such a case, when the nested framebuffer surface is first rendered by the host, the cursor is not applied and the test fails.
Description of the change
input: Update cursor when the first frame of a surface is posted
This MP fixes lp:1462088, which occurs when the request for disabling the cursor happens to reach the host server before the first buffer of the nested framebuffer surface. In such a case, when the nested framebuffer surface is first rendered by the host, the cursor is not applied and the test fails.
could use a test, or at least some comments about which bug will pop up if the non-obvious logic is altered.