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
commit 782a5c88ce
Notes: sideshowbarker 2024-07-18 10:26:16 +09:00
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();