WindowServer+LibGUI: Make "move window to front" asynchronous

This commit is contained in:
Andreas Kling 2021-05-10 12:08:59 +02:00
commit 8684fca9df
Notes: sideshowbarker 2024-07-18 18:23:15 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -109,7 +109,7 @@ void Window::move_to_front()
if (!is_visible())
return;
WindowServerConnection::the().move_window_to_front(m_window_id);
WindowServerConnection::the().async_move_window_to_front(m_window_id);
}
void Window::show()

View file

@ -82,7 +82,7 @@ endpoint WindowServer
set_window_backing_store(i32 window_id, i32 bpp, i32 pitch, IPC::File anon_file, i32 serial, bool has_alpha_channel, Gfx::IntSize size, bool flush_immediately) => ()
set_window_has_alpha_channel(i32 window_id, bool has_alpha_channel) =|
move_window_to_front(i32 window_id) => ()
move_window_to_front(i32 window_id) =|
set_fullscreen(i32 window_id, bool fullscreen) => ()
set_frameless(i32 window_id, bool frameless) => ()
popup_menu(i32 menu_id, Gfx::IntPoint screen_position) => ()