Support flatpak platform
ClosedPublic

Authored by graesslin on Oct 9 2017, 3:42 PM.

Details

Summary

Flatpak isn't a real platform, but uses either "xcb" or "wayland". Thus
we need to detect which one it is. With 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.

Diff Detail

Repository
R278 KWindowSystem
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin created this revision.Oct 9 2017, 3:42 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptOct 9 2017, 3:42 PM
apol added a comment.Oct 9 2017, 10:00 PM

+1 on the flatpak side, as I reviewed the other end.

davidedmundson accepted this revision.Oct 11 2017, 3:35 AM
This revision is now accepted and ready to land.Oct 11 2017, 3:35 AM
This revision was automatically updated to reflect the committed changes.