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
..
CMakeLists.txt [plugins/qpa] support use of modularized qtplatformsupport from Qt 5.8 2016-10-28 21:12:48 +09:00
abstractplatformcontext.cpp Request a high-priority EGL contexts 2018-03-29 20:34:22 +09:00
abstractplatformcontext.h Fix the build on armhf/aarch64 2018-03-06 09:25:33 +05:30
backingstore.cpp [qpa] Prevent crash due to Surface getting null 2017-07-06 19:14:15 +02:00
backingstore.h [wayland] Add a QPA plugin for kwin_wayland 2015-08-25 14:33:50 +02:00
integration.cpp [qpa] Always keep a at least one screen 2018-10-10 11:14:13 +01:00
integration.h Fix the build on armhf/aarch64 2018-03-06 09:25:33 +05:30
kwin.json [wayland] Add a QPA plugin for kwin_wayland 2015-08-25 14:33:50 +02:00
main.cpp [qpa] Fix overloaded-virtual warning 2017-07-30 08:22:32 +02:00
nativeinterface.cpp [qpa] Prevent crash due to Surface getting null 2017-07-06 19:14:15 +02:00
nativeinterface.h [plugins/qpa] Add a roundtrip platform function 2016-03-16 11:10:14 +01:00
platformcontextwayland.cpp [plugins/qpa] Call makeCurrent on the QOpenGLContext instead of the one in the platform context 2016-08-26 07:38:04 +02:00
platformcontextwayland.h [wayland] Add a QPA plugin for kwin_wayland 2015-08-25 14:33:50 +02:00
platformcursor.cpp [plugins/qpa] Implement a custom QPlatformCursor 2016-02-17 12:42:12 +01:00
platformcursor.h [plugins/qpa] Implement a custom QPlatformCursor 2016-02-17 12:42:12 +01:00
screen.cpp [QPA] Implement Screen on top of internal Screens API 2017-10-19 18:03:10 +02:00
screen.h [QPA] Implement Screen on top of internal Screens API 2017-10-19 18:03:10 +02:00
sharingplatformcontext.cpp [plugins/qpa] Add explanatory comment 2018-10-05 14:38:55 +01:00
sharingplatformcontext.h [plugins/qpa] Drop unused variable AbstractPlatformContext::m_integration 2017-07-31 18:09:15 +02:00
window.cpp [plugins/qpa] Properly ifdef everything with HAVE_WAYLAND_EGL 2017-07-31 18:04:53 +02:00
window.h Fix the build on armhf/aarch64 2018-03-06 09:25:33 +05:30