D10235: [server] Add support for the frame semantics of Pointer version 5

Martin Flöser noreply at phabricator.kde.org
Thu Feb 1 16:51:42 UTC 2018


graesslin created this revision.
graesslin added reviewers: KWin, Plasma, Frameworks.
Restricted Application added projects: Plasma on Wayland, Frameworks.
Restricted Application added a subscriber: plasma-devel.
graesslin requested review of this revision.
Restricted Application edited projects, added Plasma; removed Plasma on Wayland.

REVISION SUMMARY
  This change implements the required changes for wl_seat version 5.
  There seem to be applications which require version 5 and refuse to
  start if the server doesn't provide it. Thus we need to provide it.
  
  The main difference with version 5 is that pointer need to send a
  frame event after each logical group of events. As we don't support the
  new events from version 5 yet, we just emit the frame after each event
  and implement the suggested semantics for the enter/leave behavior.
  
  To really make use of this, we will have to implement additions in the
  API and then in KWin to expose the new API elements. But to just support
  the semantics we don't need it.
  
  BUG: 389189

TEST PLAN
  Extended autotest

REPOSITORY
  R127 KWayland

BRANCH
  server-pointer-frame-semantics

REVISION DETAIL
  https://phabricator.kde.org/D10235

AFFECTED FILES
  autotests/client/test_wayland_seat.cpp
  src/client/pointer.cpp
  src/client/pointer.h
  src/client/registry.cpp
  src/server/pointer_interface.cpp
  src/server/pointer_interface_p.h
  src/server/seat_interface.cpp
  src/server/seat_interface_p.h

To: graesslin, #kwin, #plasma, #frameworks
Cc: plasma-devel, michaelh, ZrenBot, ngraham, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180201/1a0788a4/attachment.html>


More information about the Kde-frameworks-devel mailing list