summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Braun2010-10-13 03:34:59 +0200
committerSebastien Braun2010-10-13 03:34:59 +0200
commita27b41dfcbf1c73a2eab60e5e32016eee014f816 (patch)
tree6ec9129f5e7f93bc359b2f0cb8e489838b1cd546
parentIntroduce init-scripts for pvsprivinputd (diff)
downloadpvs-a27b41dfcbf1c73a2eab60e5e32016eee014f816.tar.gz
pvs-a27b41dfcbf1c73a2eab60e5e32016eee014f816.tar.xz
pvs-a27b41dfcbf1c73a2eab60e5e32016eee014f816.zip
Uncomment killing of X-Server
-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);
}