D25764: Provide a fake approach to tablet event propagation

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag added inline comments.

INLINE COMMENTS

> apol wrote in pointer_input.h:60
> Why add a function nobody needs? The function is already present, only not exposed to the header.

I'm asking you only to replace `buttonCodeToQt` with the utility function.

  // pointer_input.h
  
  uint32_t qtToButtonMouseButton(Qt::MouseButton button);
  
  // pointer_input.cpp
  
  uint32_t qtToButtonMouseButton(Qt::MouseButton button)
  {
      return s_buttonToQtMouseButton.key(button);
  }

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
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.