<table><tr><td style="">subdiff created this revision.<br />subdiff added a project: Plasma on Wayland.<br />Restricted Application added a subscriber: plasma-devel.<br />Restricted Application added a project: Frameworks.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7038" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>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.</p>
<p>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.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>My testing was only on my Xwayland branch.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R127 KWayland</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7038" rel="noreferrer">https://phabricator.kde.org/D7038</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/server/pointer_interface.cpp<br />
src/server/surface_interface.cpp<br />
src/server/surface_interface.h</div></div></div><br /><div><strong>To: </strong>subdiff, Frameworks<br /><strong>Cc: </strong>plasma-devel, leezu, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein, lukas<br /></div>