<table><tr><td style="">graesslin created this revision.<br />graesslin added reviewers: KWin, Plasma, Frameworks.<br />Restricted Application added projects: Plasma on Wayland, Frameworks.<br />Restricted Application added a subscriber: plasma-devel.<br />graesslin requested review of this revision.<br />Restricted Application edited projects, added Plasma; removed Plasma on Wayland.
</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/D10235" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This change implements the required changes for wl_seat version 5.<br />
There seem to be applications which require version 5 and refuse to<br />
start if the server doesn't provide it. Thus we need to provide it.</p>

<p>The main difference with version 5 is that pointer need to send a<br />
frame event after each logical group of events. As we don't support the<br />
new events from version 5 yet, we just emit the frame after each event<br />
and implement the suggested semantics for the enter/leave behavior.</p>

<p>To really make use of this, we will have to implement additions in the<br />
API and then in KWin to expose the new API elements. But to just support<br />
the semantics we don't need it.</p>

<p>BUG: 389189</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Extended autotest</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R127 KWayland</div></div></div><br /><div><strong>BRANCH</strong><div><div>server-pointer-frame-semantics</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10235" rel="noreferrer">https://phabricator.kde.org/D10235</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/client/test_wayland_seat.cpp<br />
src/client/pointer.cpp<br />
src/client/pointer.h<br />
src/client/registry.cpp<br />
src/server/pointer_interface.cpp<br />
src/server/pointer_interface_p.h<br />
src/server/seat_interface.cpp<br />
src/server/seat_interface_p.h</div></div></div><br /><div><strong>To: </strong>graesslin, KWin, Plasma, Frameworks<br /><strong>Cc: </strong>plasma-devel, michaelh, ZrenBot, ngraham, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>