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

WindowServer: Make window stealing related functions synchronous

This allows us to make sure that those operations are performed
in the right order. Affected functions are:
 - add_window_stealing_for_client
 - set_window_parent_from_client
 - remove_window_stealing_for_client
 - remove_window_stealing
This commit is contained in:
Lucas CHOLLET 2022-05-01 17:19:35 +02:00 committed by Linus Groh
parent deb525fd9d
commit 1ba9c821fb

View file

@ -176,9 +176,9 @@ endpoint WindowServer
set_flash_flush(bool enabled) =|
set_window_parent_from_client(i32 client_id, i32 parent_id, i32 child_id) =|
set_window_parent_from_client(i32 client_id, i32 parent_id, i32 child_id) => ()
get_window_rect_from_client(i32 client_id, i32 window_id) => (Gfx::IntRect rect)
add_window_stealing_for_client(i32 client_id, i32 window_id) =|
remove_window_stealing_for_client(i32 client_id, i32 window_id) =|
remove_window_stealing(i32 window_id) =|
add_window_stealing_for_client(i32 client_id, i32 window_id) => ()
remove_window_stealing_for_client(i32 client_id, i32 window_id) => ()
remove_window_stealing(i32 window_id) => ()
}