1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

LibGUI+WindowServer: Expose WindowServer client id to the client

This allows an WindowServer client to identify itself and allow future
cross-client functionality in WindowServer.
This commit is contained in:
Timothy 2021-07-13 00:25:47 +10:00 committed by Andreas Kling
parent 7791f7b9e6
commit 522f6775a7
4 changed files with 7 additions and 4 deletions

View file

@ -51,9 +51,10 @@ WindowServerConnection::WindowServerConnection()
Desktop::the().did_receive_screen_rects({}, message->screen_rects(), message->main_screen_index(), message->virtual_desktop_rows(), message->virtual_desktop_columns());
Gfx::FontDatabase::set_default_font_query(message->default_font_query());
Gfx::FontDatabase::set_fixed_width_font_query(message->fixed_width_font_query());
m_client_id = message->client_id();
}
void WindowServerConnection::fast_greet(Vector<Gfx::IntRect> const&, u32, u32, u32, Core::AnonymousBuffer const&, String const&, String const&)
void WindowServerConnection::fast_greet(Vector<Gfx::IntRect> const&, u32, u32, u32, Core::AnonymousBuffer const&, String const&, String const&, i32)
{
// NOTE: This message is handled in the constructor.
}