kdeui: send only SIGTERM before killing the selection owner via XKillClient()

XKillClient() is the same as sending SIGKILL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-12-09 09:24:33 +02:00
parent eb8ff2c536
commit 717fd59dc8

View file

@ -130,7 +130,6 @@ bool KSelectionOwner::claim(const bool force)
}
const int currentownerpid = netwininfo.pid();
if (currentownerpid > 0) {
::kill(currentownerpid, SIGKILL);
::kill(currentownerpid, SIGTERM);
// ::kill(currentownerpid, YOUSHALLDIEONEWAYORTHEOTHER);
kDebug(240) << "Waiting for" << d->atomname << "owner";