diff --git a/krunner/view.cpp b/krunner/view.cpp index 1ab9272a8..8ea6a7b56 100644 --- a/krunner/view.cpp +++ b/krunner/view.cpp @@ -171,8 +171,8 @@ bool View::event(QEvent *event) auto surface = KWayland::Client::Surface::fromWindow(this); auto shellSurface = KWayland::Client::PlasmaShellSurface::get(surface); if (shellSurface && isVisible()) { - shellSurface->setRole(KWayland::Client::PlasmaShellSurface::Role::Panel); shellSurface->setPanelBehavior(KWayland::Client::PlasmaShellSurface::PanelBehavior::WindowsGoBelow); + shellSurface->setRole(KWayland::Client::PlasmaShellSurface::Role::Panel); shellSurface->setPanelTakesFocus(true); } }