Merge lp:~vanvugt/mir/fix-1480654 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: | 2817 |
Proposed branch: | lp:~vanvugt/mir/fix-1480654 |
Merge into: | lp:mir |
Diff against target: |
87 lines (+39/-15) 2 files modified
src/server/input/surface_input_dispatcher.cpp (+18/-15) tests/unit-tests/input/test_surface_input_dispatcher.cpp (+21/-0) |
To merge this branch: | bzr merge lp:~vanvugt/mir/fix-1480654 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Alan Griffiths | Approve | ||
Andreas Pokorny (community) | Needs Information | ||
Kevin DuBois (community) | Approve | ||
Review via email: mp+267009@code.launchpad.net |
Commit message
Fix delayed shifting of touch focus when switching apps by gesture
(LP: #1480654).
If your shell (correctly) consumes finger-up events at the end of an
app switch gesture, or if you get none at all (LP: #1481570), then
the old window was still getting touch events even after it's no longer
visible. This branch ensures that the start of the next gesture always
goes to the new window immediately, and never accidentally to the
previous one (a regression introduced in r2652).
To post a comment you must log in.
The code changes look plausible (and certainly address the usecase mentioned).
However, they make the code and comments disagree. (Cue rant on superfluous comments that restate the code.)