graesslin created this revision. graesslin added reviewers: KWin, Plasma on Wayland. Restricted Application added subscribers: kwin, plasma-devel. Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY WaylandServer creates a socketpair for several Wayland connections. So far this duplicated code quite a bit. This change introduces one method to perform the socketpair and the error checking plus creating the server side ClientConnection from the pair. TEST PLAN Tests still pass REPOSITORY R108 KWin BRANCH wayland-server-socketpair REVISION DETAIL https://phabricator.kde.org/D3576 AFFECTED FILES wayland_server.cpp wayland_server.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma_on_wayland Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, eliasp, sebas