From f556bd10450af643879358c2ad2e42dc297d9440 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 10 May 2021 12:10:58 +0200 Subject: [PATCH] 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. --- Userland/Services/WindowServer/WindowServer.ipc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) =|