graesslin created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION 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 REPOSITORY R108 KWin BRANCH popup-cancel-deco REVISION DETAIL https://phabricator.kde.org/D5388 AFFECTED FILES autotests/integration/pointer_input.cpp popup_input_filter.cpp To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol