D7504: Do not hard runtime depend on X11 in composite startup
Martin Flöser
noreply at phabricator.kde.org
Thu Aug 24 08:47:28 UTC 2017
graesslin created this revision.
Restricted Application added a project: KWin.
Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY
The compositor needs to claim the X11 compositor selection and redirect
the X11 windows. This of course only makes sense when having X11 support.
This change refactors the code so that if X11 support is missing the code
is not executed, but as soon as X11 support comes available the selection
gets claimed.
Also if the connection goes away the selection is deleted, though it
might be that this does not work as KSelectionOwner might call into xcb
and cause a crash. This needs to be tested once we start supporting
XWayland going away.
REPOSITORY
R108 KWin
BRANCH
composite-no-x11
REVISION DETAIL
https://phabricator.kde.org/D7504
AFFECTED FILES
composite.cpp
composite.h
To: graesslin, #kwin, #plasma
Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170824/f581e384/attachment-0001.html>
More information about the Plasma-devel
mailing list