D23086: Be consistent about touch point id type: Qt uses qint32

Roman Gilg <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
romangg added a comment.


  In D23086#510331 <https://phabricator.kde.org/D23086#510331>, @gladhorn wrote:
  
  > ...
  >  I though these were Qt touch points, interesting. In any case, I hope this is more complete than just casting in 16e904592ae4fe0a04ef61d42c9a114c62997c8e <https://phabricator.kde.org/R108:16e904592ae4fe0a04ef61d42c9a114c62997c8e>.
  >  What is the best way to test these? I'll run my desktop with the change. I don't use the touch screen that often though.
  
  
  Yea, they come from libinput and should only be relevant in Wayland session. Not sure about the effects stuff though. To test simply try touch input in Wayland session on client content and window decorations (tapping, dragging windows). If everything works as expected there should be no problem. I mean on the other side you can spot pretty easily in the reverted patch what the issue was there: `m_touchId` is sometimes -1 but gets casted to uint in the comparison.

REPOSITORY
  R108 KWin

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

To: gladhorn, #kwin
Cc: zzag, romangg, kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.