From 2cbada20a10ea464ec038c33a55738a6be7b63bc Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Wed, 5 Apr 2017 15:31:35 +0200 Subject: [PATCH] [KWin Killer] Send short caption to it Use caption(false) otherwise it includes the "(Not Responding)" part. Unfortunately we also lose the <1> and <2> suffix. Differential Revision: https://phabricator.kde.org/D5307 --- client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.cpp b/client.cpp index 1ceeace7eb..4697348db5 100644 --- a/client.cpp +++ b/client.cpp @@ -1183,7 +1183,7 @@ void Client::killProcess(bool ask, xcb_timestamp_t timestamp) QString hostname = clientMachine()->isLocal() ? QStringLiteral("localhost") : QString::fromUtf8(clientMachine()->hostName()); QProcess::startDetached(QStringLiteral(KWIN_KILLER_BIN), QStringList() << QStringLiteral("--pid") << QString::number(unsigned(pid)) << QStringLiteral("--hostname") << hostname - << QStringLiteral("--windowname") << caption() + << QStringLiteral("--windowname") << caption(false /*full*/) << QStringLiteral("--applicationname") << QString::fromUtf8(resourceClass()) << QStringLiteral("--wid") << QString::number(window()) << QStringLiteral("--timestamp") << QString::number(timestamp),