diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-12-29 18:03:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-12-29 18:03:40 +0900 |
commit | 479a01e00ead84ec4020d88d09a8446b08555575 (patch) | |
tree | 54c3e6453922f885a3273142715b5e4b9526b9ea | |
parent | fa8c5e1b82e6a9e3d6eefc96241efc9371f02a12 (diff) | |
download | polkit-agent-tde-479a01e00ead84ec4020d88d09a8446b08555575.tar.gz polkit-agent-tde-479a01e00ead84ec4020d88d09a8446b08555575.zip |
Make sure the authentication dialog is shown on top of the other windows.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | src/polkit-listener.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 <kdebug.h> #include <tdelocale.h> +#include "twin.h" #include <PolkitTQt/Agent/Listener> #include <PolkitTQt/Agent/Session> @@ -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) { |