[ksmserver/logout] Enable blur behind on logout greeter window

Test Plan: Tested the logout greeter on Wayland. Background blurred

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D2554
wilder-5.14
Martin Gräßlin 10 years ago
parent a8ea49ed90
commit 3ece87fd72
  1. 2
      ksmserver/shutdowndlg.cpp

@ -51,6 +51,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <KLocalizedString>
#include <KUser>
#include <Solid/PowerManagement>
#include <KWindowEffects>
#include <KWindowSystem>
#include <KDeclarative/KDeclarative>
#include <KSharedConfig>
@ -222,6 +223,7 @@ bool KSMShutdownDlg::event(QEvent *e)
switch (pe->surfaceEventType()) {
case QPlatformSurfaceEvent::SurfaceCreated:
setupWaylandIntegration();
KWindowEffects::enableBlurBehind(winId(), true);
break;
case QPlatformSurfaceEvent::SurfaceAboutToBeDestroyed:
delete m_shellSurface;

Loading…
Cancel
Save