1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:07:34 +00:00

WindowServer+LibGUI: Make menubar allocation asynchronous

Same as with menu allocation, move menubar ID management to the client
side, removing more IPC stalls during application startup.
This commit is contained in:
Andreas Kling 2021-05-17 13:31:14 +02:00
parent baab0a5bef
commit 7e799529b9
4 changed files with 9 additions and 7 deletions

View file

@ -2,7 +2,7 @@ endpoint WindowServer
{
greet() => (Gfx::IntRect screen_rect, Core::AnonymousBuffer theme_buffer)
create_menubar() => (i32 menubar_id)
create_menubar(i32 menubar_id) =|
destroy_menubar(i32 menubar_id) =|
create_menu(i32 menu_id, [UTF8] String menu_title) =|