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:
parent
70c6090fef
commit
782a5c88ce
6 changed files with 14 additions and 14 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue