D25764: Provide a fake approach to tablet event propagation

Aleix Pol Gonzalez noreply at phabricator.kde.org
Thu Dec 5 16:54:23 GMT 2019


apol added inline comments.

INLINE COMMENTS

> zzag wrote in pointer_input.h:60
> Wouldn't it be better to have an utility function that one can use to get a button code for the given Qt::MouseButton?
> 
> API-wise, I think we need something like this
> 
>   Qt::MouseButton buttonToQtMouseButton(uint32_t button);
>   uint32_t qtToButtonMouseButton(Qt::MouseButton button);

Why add a function nobody needs? The function is already present, only not exposed to the header.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D25764

To: apol, #kwin
Cc: zzag, 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, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20191205/ed65fbe9/attachment.html>


More information about the kwin mailing list