mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 14:25:06 +00:00
Port the WindowServer and LibGUI to communicate through local sockets.
This is really cool! :^) Apps currently refuse to start if the WindowServer isn't listening on the socket in /wsportal. This makes sense, but I guess it would also be nice to have some sort of "wait for server on startup" mode. This has performance issues, and I'll work on those, but this stuff seems to actually work and I'm very happy with that.
This commit is contained in:
parent
00319c248c
commit
bf58241c11
15 changed files with 190 additions and 51 deletions
|
@ -144,7 +144,7 @@ void WSMenu::did_activate(WSMenuItem& item)
|
|||
message.menu.identifier = item.identifier();
|
||||
|
||||
if (auto* client = WSClientConnection::from_client_id(m_client_id))
|
||||
client->post_message(move(message));
|
||||
client->post_message(message);
|
||||
}
|
||||
|
||||
WSMenuItem* WSMenu::item_at(const Point& position)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue