From 479a01e00ead84ec4020d88d09a8446b08555575 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 29 Dec 2021 18:03:40 +0900 Subject: [PATCH] Make sure the authentication dialog is shown on top of the other windows. Signed-off-by: Michele Calgaro --- src/polkit-listener.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/polkit-listener.cpp b/src/polkit-listener.cpp index f58a6c6..16e2a3b 100644 --- a/src/polkit-listener.cpp +++ b/src/polkit-listener.cpp @@ -23,6 +23,7 @@ #include #include +#include "twin.h" #include #include @@ -82,6 +83,7 @@ void PolkitListener::initiateAuthentication(const TQString &actionId, const TQSt m_dialog->setOptions(); m_dialog->show(); + KWin::forceActiveWindow(m_dialog->winId()); if (identities.count() == 1) {