1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

WindowServer: Get rid of unnecessary messaging indirection.

This commit is contained in:
Andreas Kling 2019-02-17 08:58:42 +01:00
parent 9a39c01551
commit f02a490230
3 changed files with 14 additions and 23 deletions

View file

@ -76,14 +76,6 @@ int WSMessageLoop::exec()
}
}
void WSMessageLoop::post_message_to_client(int client_id, const WSAPI_ServerMessage& message)
{
auto* client = WSClientConnection::from_client_id(client_id);
if (!client)
return;
client->post_message(message);
}
void WSMessageLoop::post_message(WSMessageReceiver* receiver, OwnPtr<WSMessage>&& message)
{
#ifdef WSEVENTLOOP_DEBUG