1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:27:45 +00:00

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

This commit is contained in:
Andreas Kling 2021-05-10 12:08:59 +02:00
parent 691b6f69c5
commit 8684fca9df
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) => ()