D5388: Cancel popup if the user clicked window decoration of parent window

Martin Gräßlin noreply at phabricator.kde.org
Mon Apr 10 16:23:08 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170410/7d3e278d/attachment.html>


More information about the Plasma-devel mailing list