summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/input/killX11Handler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/killX11Handler.cpp b/src/input/killX11Handler.cpp
index 32e5873..8fa8c24 100644
--- a/src/input/killX11Handler.cpp
+++ b/src/input/killX11Handler.cpp
@@ -85,5 +85,5 @@ void KillX11Handler::doHandle(InputEvent const&, InputEventContext const* ctx)
QString exe = QFileInfo(QString("/proc/%1/exe").arg(pids[0])).readLink();
qDebug("Killing X server, PID %d, exe name %s with SIGTERM", pids[0], exe.toLocal8Bit().constData());
-// kill(pids[0], SIGTERM);
+ kill(pids[0], SIGTERM);
}