summaryrefslogtreecommitdiffstats
path: root/src/polkit-listener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/polkit-listener.cpp')
-rw-r--r--src/polkit-listener.cpp2
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)
{