diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-10 11:52:30 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-10 11:53:26 +0200 |
commit | fb935354192b07f28da17a89175f1f6e1e72eec2 (patch) | |
tree | a3490c1727d3e297f3be6f60ee5653741a0dc998 /Userland/Services | |
parent | b1fe5d55172b30474050a4b0bc34058a7b158c2b (diff) | |
download | serenity-fb935354192b07f28da17a89175f1f6e1e72eec2.zip |
WindowServer+LibGUI: Make menu and menubar teardown asynchronous
Clients don't need to wait for WindowServer to tear down a menu or
menubar before continuing.
Diffstat (limited to 'Userland/Services')
-rw-r--r-- | Userland/Services/WindowServer/WindowServer.ipc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/WindowServer/WindowServer.ipc b/Userland/Services/WindowServer/WindowServer.ipc index aa7da699fc..f74773243a 100644 --- a/Userland/Services/WindowServer/WindowServer.ipc +++ b/Userland/Services/WindowServer/WindowServer.ipc @@ -3,10 +3,10 @@ endpoint WindowServer greet() => (Gfx::IntRect screen_rect, Core::AnonymousBuffer theme_buffer) create_menubar() => (i32 menubar_id) - destroy_menubar(i32 menubar_id) => () + destroy_menubar(i32 menubar_id) =| create_menu([UTF8] String menu_title) => (i32 menu_id) - destroy_menu(i32 menu_id) => () + destroy_menu(i32 menu_id) =| add_menu_to_menubar(i32 menubar_id, i32 menu_id) =| |