1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:07:35 +00:00

WindowServer: Make most remaining WindowServer IPC calls async

The only remaining sync call from client to server is now the call
that switches a window's backing store. That one actually relies on
the synchronization to hand over ownership of the backing stores,
so it has to stay synchronous for now.
This commit is contained in:
Andreas Kling 2021-07-04 22:26:24 +02:00
parent 70c6090fef
commit 782a5c88ce
6 changed files with 14 additions and 14 deletions

View file

@ -27,7 +27,7 @@ void MagnifierWidget::track_cursor_globally()
VERIFY(window_id >= 0);
set_global_cursor_tracking(true);
GUI::WindowServerConnection::the().set_global_cursor_tracking(window_id, true);
GUI::WindowServerConnection::the().async_set_global_cursor_tracking(window_id, true);
}
void MagnifierWidget::set_scale_factor(int scale_factor)