D25292: [effects] Forward wheel events

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

INLINE COMMENTS

> effects_mouse_interception_x11_filter.cpp:42
>          if (m_window == me->event) {
> +            const bool isWheel = me->detail ==XCB_BUTTON_INDEX_4 || me->detail == XCB_BUTTON_INDEX_5;
> +            if (isWheel) {

You forgot horizontal scroll events, i.e. button 6 and button 7.

REPOSITORY
  R108 KWin

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

To: davidedmundson, #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.