1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:57:46 +00:00

LibIPC: Stop sending client ID to clients

The client ID is not useful to normal clients anymore, so stop telling
everyone what their ID is.
This commit is contained in:
Andreas Kling 2021-02-01 11:26:41 +01:00
parent a5bbe3280d
commit 1ce03f4f34
29 changed files with 27 additions and 42 deletions

View file

@ -57,7 +57,7 @@ void ClientConnection::die()
OwnPtr<Messages::ClipboardServer::GreetResponse> ClientConnection::handle(const Messages::ClipboardServer::Greet&)
{
return make<Messages::ClipboardServer::GreetResponse>(client_id());
return make<Messages::ClipboardServer::GreetResponse>();
}
OwnPtr<Messages::ClipboardServer::SetClipboardDataResponse> ClientConnection::handle(const Messages::ClipboardServer::SetClipboardData& message)

View file

@ -1,6 +1,6 @@
endpoint ClipboardServer = 802
{
Greet() => (i32 client_id)
Greet() => ()
GetClipboardData() => (Core::AnonymousBuffer data, [UTF8] String mime_type, IPC::Dictionary metadata)
SetClipboardData(Core::AnonymousBuffer data, [UTF8] String mime_type, IPC::Dictionary metadata) => ()