D7369: [WIP] Wayland foreign protocol

Marco Martin noreply at phabricator.kde.org
Thu Aug 17 15:48:00 UTC 2017


mart created this revision.
Restricted Application added projects: Plasma on Wayland, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.

REVISION SUMMARY
  Implement the "foreign" wayland protocol.
  A client can export a surface with an unique string as handle,
  then another client can refer to that surface and set an own surface as
  child of that surface.
  Potential use cases are out-of-process dialogs, such as file dialogs,
  meant to be used by sandboxed processes that may not have the access
  it needs to implement such dialogs.
  The handle needs to be shared between the processes with other means,
  such as dbus or command line paramenters

TEST PLAN
  the autotest works, but has a lot of random crashes when deleting surfaces,
  unfortunately backtraces don't tell much and the crashes never occur when running into valgrind
  behavior may still be wrong, depending on how the protocol is supposed
  to work if more clients try to set the same exported surface as parent

REPOSITORY
  R127 KWayland

BRANCH
  mart/xdgforeign

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

AFFECTED FILES
  autotests/client/CMakeLists.txt
  autotests/client/test_xdg_foreign.cpp
  src/client/CMakeLists.txt
  src/client/protocols/xdg-foreign-unstable-v1.xml
  src/client/registry.cpp
  src/client/registry.h
  src/client/xdgforeign_v1.cpp
  src/client/xdgforeign_v1.h
  src/server/CMakeLists.txt
  src/server/display.cpp
  src/server/display.h
  src/server/xdgforeign_v1_interface.cpp
  src/server/xdgforeign_v1_interface.h
  src/server/xdgforeign_v1_interface_p.h

To: mart, #plasma, #kwin
Cc: plasma-devel, #frameworks, 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/plasma-devel/attachments/20170817/3c6161a2/attachment.html>


More information about the Plasma-devel mailing list