<table><tr><td style="">graesslin created this revision.<br />graesslin added reviewers: Frameworks, Flatpak, apol.<br />Restricted Application added a project: Frameworks.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8224" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Flatpak isn't a real platform, but uses either "xcb" or "wayland". Thus<br />
we need to detect which one it is. With <a href="https://phabricator.kde.org/D8223" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">D8223</a> the flatpak platform sets<br />
the "real" platform as an env variable. Thus we can make use of it to<br />
detect the actual used platform and provide the proper platform.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R278 KWindowSystem</div></div></div><br /><div><strong>BRANCH</strong><div><div>flatpak-platform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8224" rel="noreferrer">https://phabricator.kde.org/D8224</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kwindowsystem.cpp<br />
src/pluginwrapper.cpp</div></div></div><br /><div><strong>To: </strong>graesslin, Frameworks, Flatpak, apol<br /></div>