summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2017-03-22 10:53:48 +0100
committerKai Uwe Broulik <[email protected]>2017-03-22 10:53:48 +0100
commit8777aeb91d9120ebb31db89d163718a383746821 (patch)
tree5c476151b3be3012066b75670e938776f4635064
parent8ad9c6ba909a87d9a7b24414183b99aed9f8e575 (diff)
[Logout Greeter] Properly fullscreen window and don't bypass WM
Otherwise the window isn't fullscreen as far as kwin is concerned and then fast blur code path isn't executed. Differential Revision: https://phabricator.kde.org/D5115
-rw-r--r--ksmserver/shutdowndlg.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ksmserver/shutdowndlg.cpp b/ksmserver/shutdowndlg.cpp
index c393e33..c69f577 100644
--- a/ksmserver/shutdowndlg.cpp
+++ b/ksmserver/shutdowndlg.cpp
@@ -87,7 +87,6 @@ KSMShutdownDlg::KSMShutdownDlg( QWindow* parent,
// window stuff
setClearBeforeRendering(true);
setColor(QColor(Qt::transparent));
- setFlags(Qt::FramelessWindowHint | Qt::BypassWindowManagerHint);
setResizeMode(QQuickView::SizeRootObjectToView);
@@ -192,7 +191,7 @@ void KSMShutdownDlg::init()
setGeometry(screen()->geometry());
});
- QQuickView::show();
+ QQuickView::showFullScreen();
requestActivate();
KWindowSystem::setState(winId(), NET::SkipTaskbar|NET::SkipPager);