D24012: Supress mouse events in KCMs causing window moves
David Edmundson
noreply at phabricator.kde.org
Tue Sep 17 00:23:22 BST 2019
davidedmundson created this revision.
davidedmundson added a reviewer: Plasma.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
davidedmundson requested review of this revision.
REVISION SUMMARY
If a mouse press is handled by the new input handlers the mouse evnet is
not accepted at a window level.
This causes the breeze style to start a window drag.
Marking all mouse events as accepted after being processed supresses
them reaching the widget.
This is noticable in the rewritten kscreen KCM when running on XCB. (it
would also affect wayland, but the breeze window management is currently
broken there)
TEST PLAN
Dragged a monitor in kscreen kcm. The monitor representation moved not the whole window
REPOSITORY
R295 KCMUtils
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D24012
AFFECTED FILES
src/kcmoduleqml.cpp
src/kcmoduleqml_p.h
To: davidedmundson, #plasma
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190916/1401626f/attachment.html>
More information about the Kde-frameworks-devel
mailing list