1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 00:57:44 +00:00

WindowServer: Add WindowServer::get_window_rect_from_client()

This allows a client to get the rect of a window in another client.
This commit is contained in:
Timothy 2021-07-17 19:36:51 +10:00 committed by Andreas Kling
parent 88e6d18a61
commit b77b631571
3 changed files with 15 additions and 0 deletions

View file

@ -149,4 +149,5 @@ endpoint WindowServer
set_flash_flush(bool enabled) =|
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)
}