<table><tr><td style="">romangg created this revision.<br />romangg added reviewers: Plasma, KWin, Frameworks.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: kde-frameworks-devel.<br />romangg requested review of this revision.
</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/D13257">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This solves for me not working relative pointer motion with grab/lock in<br />
Xwayland applications.</p>
<p>Looking at the Xwayland code it is clear, that it expects a frame event on<br />
wl_pointer versions 5 and above after relative motion events. wl_pointer<br />
version 5 support was added to KWayland in <a href="https://phabricator.kde.org/R127:b6bd28ab0492b07f6bb32dcb217f94b4d4a93d2c" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">b6bd28ab</a>.</p>
<p>If the cursor is locked no absolute motion events are sent. In this case to<br />
make sure relative motion events are processed by the client, send the frame<br />
event after every relative motion.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Manually with Neverball in Xwayland mode.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R127 KWayland</div></div></div><br /><div><strong>BRANCH</strong><div><div>fixRelativeMotionFrame</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13257">https://phabricator.kde.org/D13257</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/server/pointer_interface.cpp</div></div></div><br /><div><strong>To: </strong>romangg, Plasma, KWin, Frameworks<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>