graesslin created this revision. graesslin added reviewers: Frameworks, Flatpak, apol. Restricted Application added a project: Frameworks.
REVISION SUMMARY Flatpak isn't a real platform, but uses either "xcb" or "wayland". Thus we need to detect which one it is. With https://phabricator.kde.org/D8223 the flatpak platform sets the "real" platform as an env variable. Thus we can make use of it to detect the actual used platform and provide the proper platform. REPOSITORY R278 KWindowSystem BRANCH flatpak-platform REVISION DETAIL https://phabricator.kde.org/D8224 AFFECTED FILES src/kwindowsystem.cpp src/pluginwrapper.cpp To: graesslin, #frameworks, #flatpak, apol