Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Atoms::Atoms()
{
- const int max = 50;
+ const int max = 32;
Atom* atoms[max];
char* names[max];
Atom atoms_return[max];
QStringList lst;
lst << clientMachine()->hostName() << "kill" << QString::number(pid);
QProcess::startDetached("xon", lst);
- } else
+ } else {
::kill(pid, SIGTERM);
+ }
} else {
QString hostname = clientMachine()->isLocal() ? "localhost" : clientMachine()->hostName();
QProcess::startDetached(KStandardDirs::findExe("kwin_killer_helper"),