Skip to content

Commit 1ba9c82

Browse files
LucasCholletlinusg
authored andcommitted
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
1 parent deb525f commit 1ba9c82

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Userland/Services/WindowServer/WindowServer.ipc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ endpoint WindowServer
176176

177177
set_flash_flush(bool enabled) =|
178178

179-
set_window_parent_from_client(i32 client_id, i32 parent_id, i32 child_id) =|
179+
set_window_parent_from_client(i32 client_id, i32 parent_id, i32 child_id) => ()
180180
get_window_rect_from_client(i32 client_id, i32 window_id) => (Gfx::IntRect rect)
181-
add_window_stealing_for_client(i32 client_id, i32 window_id) =|
182-
remove_window_stealing_for_client(i32 client_id, i32 window_id) =|
183-
remove_window_stealing(i32 window_id) =|
181+
add_window_stealing_for_client(i32 client_id, i32 window_id) => ()
182+
remove_window_stealing_for_client(i32 client_id, i32 window_id) => ()
183+
remove_window_stealing(i32 window_id) => ()
184184
}

0 commit comments

Comments
 (0)