[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
This commit is contained in:
parent
1eb950a985
commit
2cbada20a1
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue