Listen for cursor position hint changes and set cursor position to the hint
on unlock if a valid position hint was set.
Details
Details
- Reviewers
graesslin - Group Reviewers
KWin - Maniphest Tasks
- T4693: Use cursor position hint from LockedPointerInterface
- Commits
- R108:054ccc389899: Use locked cursor position hint
With pointer constraints test app.
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
pointer_input.cpp | ||
---|---|---|
600 | Coding hint: can be simplified as: |
Comment Actions
@graesslin Thanks for review, but David wanted me to use a cached variable in KWayland. That's why I had to rework the KWin implementation as well. Sorry. Would appreciate another review for this revision.