D25663: Initial support for tablets on Wayland
Roman Gilg <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
romangg requested changes to this revision.
romangg added a comment.
This revision now requires changes to proceed.
- Still needs several styling corrections.
- I would say as with touch and pointer input there should be a focus update when the pen touches down (`update()` function)
INLINE COMMENTS
> tablet_input.cpp:92
> + QTabletEvent ev(t, pos, pos, QTabletEvent::Stylus, QTabletEvent::Pen, pressure, xTilt, yTilt,
> + 0 /*tangentialPressure*/, rotation, 0 /*z*/, Qt::NoModifier, serialId, button, button);
> +
No inline comments, make it mutliple lines, put comment as `// comments` behind arguments.
> tablet_input.h:76
> +private:
> + void cleanupDecoration(Decoration::DecoratedClientImpl */*old*/, Decoration::DecoratedClientImpl */*now*/) override
> + {
Implement in cpp file. There use Q_UNUSED macro.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D25663
To: apol, #plasma, #kwin, romangg
Cc: romangg, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, ahiemstra, mart