Skip to content
  • Martin Flöser's avatar
    Send hoverLeave or hoverMotion after touch up on decoration · 911176a8
    Martin Flöser authored
    Summary:
    On touch down a first hover motion is sent to the decoration. Thus e.g. a
    button enters the hovered state. On touch release so far the decoration
    did not get a leave event resulting in the button still being hovered.
    
    This change ensures the leave event is sent or if the pointer is also on
    the decoration a motion to the pointer position is sent.
    
    BUG: 386231
    FIXED-IN: 5.12.3
    
    Test Plan:
    New test case and manual testing to verify that the maximize
    button is no longer hovered after touch down/up on it
    
    Reviewers: #kwin, #plasma
    
    Subscribers: plasma-devel, kwin
    
    Tags: #plasma
    
    Differential Revision: https://phabricator.kde.org/D10308
    911176a8