diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-10 12:10:58 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-10 12:20:28 +0200 |
commit | f556bd10450af643879358c2ad2e42dc297d9440 (patch) | |
tree | cf03fa3b38f5b2230ace9bf1f9fd93b233258d72 /Userland | |
parent | 8684fca9df3fff2c3d38c8ccc2668d5f9658df42 (diff) | |
download | serenity-f556bd10450af643879358c2ad2e42dc297d9440.zip |
WindowServer: Make popup_menu() an asynchronous IPC call
This was already being used asynchronously by LibGUI, which meant that
WindowServer would generate a response, and the client would ignore it.
This patch simplifies the WindowServer side so it no longer generates
the unnecessary response.
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Services/WindowServer/WindowServer.ipc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WindowServer/WindowServer.ipc b/Userland/Services/WindowServer/WindowServer.ipc index 8656bd90f3..24b7993bd9 100644 --- a/Userland/Services/WindowServer/WindowServer.ipc +++ b/Userland/Services/WindowServer/WindowServer.ipc @@ -85,7 +85,7 @@ endpoint WindowServer move_window_to_front(i32 window_id) =| set_fullscreen(i32 window_id, bool fullscreen) => () set_frameless(i32 window_id, bool frameless) => () - popup_menu(i32 menu_id, Gfx::IntPoint screen_position) => () + popup_menu(i32 menu_id, Gfx::IntPoint screen_position) =| dismiss_menu(i32 menu_id) => () set_wallpaper(String path) =| |