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

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.
This commit is contained in:
Andreas Kling 2021-05-10 12:10:58 +02:00
parent 8684fca9df
commit f556bd1045

View file

@ -85,7 +85,7 @@ endpoint WindowServer
move_window_to_front(i32 window_id) =| move_window_to_front(i32 window_id) =|
set_fullscreen(i32 window_id, bool fullscreen) => () set_fullscreen(i32 window_id, bool fullscreen) => ()
set_frameless(i32 window_id, bool frameless) => () 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) => () dismiss_menu(i32 menu_id) => ()
set_wallpaper(String path) =| set_wallpaper(String path) =|