Use layer-shell keyboard interactivity enum in logout greeter

The keyboard interactivity flag was changed from a bool to an enum.
wilder-5.22
Vlad Zahorodnii 5 years ago committed by Aleix Pol Gonzalez
parent 156509b785
commit aecbc037d2
  1. 2
      logout-greeter/shutdowndlg.cpp

@ -210,7 +210,7 @@ void KSMShutdownDlg::init()
setKeyboardGrabEnabled(true);
KWindowEffects::enableBlurBehind(winId(), true);
if (auto w = LayerShellQt::Window::get(this)) {
w->setKeyboardInteractivity(true);
w->setKeyboardInteractivity(LayerShellQt::Window::KeyboardInteractivityExclusive);
w->setExclusiveZone(-1);
w->setLayer(LayerShellQt::Window::LayerOverlay);
}

Loading…
Cancel
Save