Skip to content
  • Martin Flöser's avatar
    Select also raw button press/release in XInput2 based polling · 71c996fe
    Martin Flöser authored
    Summary:
    The mouse polling is also used to detect mouse button press/release
    events. This is used e.g. by the MouseClickEffect. The XInput2 filter
    only selected for Raw Motion events which means mouse button events
    are missed in case it's not combined with a motion.
    
    This change makes the input filter also select for raw button press
    and release events. To support this the X11EventFilter needed to
    be adjusted to support multiple generic event types to filter for.
    
    BUG: 366612
    FIXED-IN: 5.7.4
    
    Reviewers: #kwin, #plasma
    
    Subscribers: kwin
    
    Tags: #kwin
    
    Differential Revision: https://phabricator.kde.org/D2406
    71c996fe