mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
WindowServer: Let clients mark windows as stealable by specific clients
This implements window stealing in WindowServer, which allows clients to mark a window they own as 'stealable' by another client. Indicating that the other client may use it for any purpose. This also updates set_window_parent_from_id so that the client must first mark its window as stealable before allowing other clients to use it as a parent.
This commit is contained in:
parent
f5e0475bdf
commit
9e04ab936f
4 changed files with 54 additions and 1 deletions
|
@ -150,4 +150,7 @@ endpoint WindowServer
|
|||
|
||||
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) =|
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue