kwin/plugins/qpa
David Edmundson 6724955a76 [qpa] Always keep a at least one screen
Summary:
Qt does not like having no screens. Both Qt XCB and Wayland QPAs have
systems pretend there's always at least 1 screen
present.

Kwin already uses a dummy screen on startup, this patch reinserts the
dummy screen if the platform states that all real screens are removed.

BUG: 399564

Test Plan:
Logged in, everything still worked
Did not reproduce the original bug

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D16096
2018-10-10 11:14:13 +01:00
..
abstractplatformcontext.cpp
abstractplatformcontext.h
backingstore.cpp
backingstore.h
CMakeLists.txt
integration.cpp [qpa] Always keep a at least one screen 2018-10-10 11:14:13 +01:00
integration.h
kwin.json
main.cpp
nativeinterface.cpp
nativeinterface.h
platformcontextwayland.cpp
platformcontextwayland.h
platformcursor.cpp
platformcursor.h
screen.cpp
screen.h
sharingplatformcontext.cpp
sharingplatformcontext.h
window.cpp
window.h