Adds functionality to do drag and drop with touch screens.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
KWin Frameworks - Commits
- R127:09b5adee94ad: [server] Touch drag support
Manually. Autotest planned.
Diff Detail
Diff Detail
- Repository
- R127 KWayland
- Branch
- touchDrag
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 3000 Build 3018: arc lint + arc unit
src/server/datadevice_interface.cpp | ||
---|---|---|
102 ↗ | (On Diff #41503) | done |
src/server/seat_interface.cpp | ||
1331 ↗ | (On Diff #41503) | If I add 2 IDs [0,1] then remove ID 0 [1] with the old code I would get the ID 2, with this I'll get a second ID 1 |
1358 ↗ | (On Diff #41503) | I expect you need this in touchCancel too |
src/server/seat_interface_p.h | ||
153 ↗ | (On Diff #41503) | If you don't need the order QHash over QMap |
src/server/seat_interface.cpp | ||
---|---|---|
1331 ↗ | (On Diff #41503) | Redid this one too many times and overlooked this obvious problem. I will just use the last() call of the QMap instead of size(). Thanks! |
src/server/seat_interface_p.h | ||
153 ↗ | (On Diff #41503) | Needs to be a QMap now again with the last() call in the touchDown method. |