Diffusion KWin 911176a887be

Send hoverLeave or hoverMotion after touch up on decoration

Authored by graesslin on Feb 4 2018, 8:21 PM.

Description

Send hoverLeave or hoverMotion after touch up on decoration

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

Details

Committed
graesslinFeb 25 2018, 12:54 PM
Differential Revision
D10308: Send hoverLeave or hoverMotion after touch up on decoration
Parents
R108:5795fc8cc04a: Init the icon in ShellClient::init
Branches
Unknown
Tags
Unknown