D7038: [server] Respect input region of sub-surfaces on pointer surface focus
Roman Gilg
noreply at phabricator.kde.org
Tue Aug 1 14:02:46 UTC 2017
subdiff created this revision.
subdiff added a project: Plasma on Wayland.
Restricted Application added a subscriber: plasma-devel.
Restricted Application added a project: Frameworks.
REVISION SUMMARY
I noticed that while working on my GSoC Xwayland project and using sub-surfaces with empty input region. KWayland takes always the top-most child surface at a given position for its pointer input.
But if a sub-surface sets its input region, it should not select this one when the position is out of its input region, but rather try the surface below.
TEST PLAN
My testing was only on my Xwayland branch.
REPOSITORY
R127 KWayland
REVISION DETAIL
https://phabricator.kde.org/D7038
AFFECTED FILES
src/server/pointer_interface.cpp
src/server/surface_interface.cpp
src/server/surface_interface.h
To: subdiff, #frameworks
Cc: plasma-devel, leezu, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170801/a252c03a/attachment.html>
More information about the Kde-frameworks-devel
mailing list