Commit 1ae77bf9 authored by Fabian Vogt's avatar Fabian Vogt Committed by Kai Uwe Broulik
Browse files

Improve appearance of the logout dialog on wayland

Summary:
The logout dialog has a taskbar entry and appears like a regular window on
wayland. This is because Qt does not support fullscreen windows with xdg_shell
as of 5.9.4. wl-shell works, so force it for the time being.

Test Plan: Ran ksmserver-logout-greeter on X11 and wayland, looks identical now.

Reviewers: #plasma, graesslin, davidedmundson, bshah

Reviewed By: #plasma, graesslin, bshah

Subscribers: ngraham, bshah, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D10425
parent 518373a1
......@@ -163,6 +163,9 @@ bool Greeter::eventFilter(QObject *watched, QEvent *event)
int main(int argc, char *argv[])
{
// Qt does not currently (5.9.4) support fullscreen on xdg_shell v6.
qputenv("QT_WAYLAND_SHELL_INTEGRATION", "wl-shell");
QQuickWindow::setDefaultAlphaBuffer(true);
QApplication app(argc, argv);
......
......@@ -135,6 +135,9 @@ bool Greeter::eventFilter(QObject *watched, QEvent *event)
int main(int argc, char *argv[])
{
// Qt does not currently (5.9.4) support fullscreen on xdg_shell v6.
qputenv("QT_WAYLAND_SHELL_INTEGRATION", "wl-shell");
QQuickWindow::setDefaultAlphaBuffer(true);
QGuiApplication app(argc, argv);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment