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:
parent
9a39c01551
commit
f02a490230
3 changed files with 14 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue