1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:27:45 +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

@ -911,7 +911,7 @@ void Window::set_fullscreen(bool fullscreen)
m_fullscreen = fullscreen;
if (!is_visible())
return;
WindowServerConnection::the().set_fullscreen(m_window_id, fullscreen);
WindowServerConnection::the().async_set_fullscreen(m_window_id, fullscreen);
}
void Window::set_frameless(bool frameless)
@ -921,7 +921,7 @@ void Window::set_frameless(bool frameless)
m_frameless = frameless;
if (!is_visible())
return;
WindowServerConnection::the().set_frameless(m_window_id, frameless);
WindowServerConnection::the().async_set_frameless(m_window_id, frameless);
if (!frameless)
apply_icon();