D16096: [qpa] Always keep a at least one screen
David Edmundson <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
davidedmundson created this revision. davidedmundson added a reviewer: KWin. Herald added a project: KWin. Herald added a subscriber: kwin. davidedmundson requested review of this revision. REVISION 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 REPOSITORY R108 KWin BRANCH master REVISION DETAIL https://phabricator.kde.org/D16096 AFFECTED FILES plugins/qpa/integration.cpp To: davidedmundson, #kwin Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart