Cancel popup if the user clicked window decoration of parent window
ClosedPublic

Authored by graesslin on Apr 10 2017, 4:21 PM.

Details

Summary

So far the window decoration was not considered and e.g. right clicking
the window decoration resulted in two open popups - one by KWin and one
by the application. This change addresses the problem by ensuring the
popup gets cancelled if the decoration is clicked. It's considered not
being part of the window.

Test Plan

Added test case which fails without the change

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin created this revision.Apr 10 2017, 4:21 PM
Restricted Application added a project: KWin. · View Herald TranscriptApr 10 2017, 4:21 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
mart accepted this revision.Apr 11 2017, 11:40 AM
This revision is now accepted and ready to land.Apr 11 2017, 11:40 AM
This revision was automatically updated to reflect the committed changes.