mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
WindowServer+LibGUI: Make "move window to front" asynchronous
This commit is contained in:
parent
691b6f69c5
commit
8684fca9df
2 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ void Window::move_to_front()
|
||||||
if (!is_visible())
|
if (!is_visible())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
WindowServerConnection::the().move_window_to_front(m_window_id);
|
WindowServerConnection::the().async_move_window_to_front(m_window_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::show()
|
void Window::show()
|
||||||
|
|
|
@ -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_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) =|
|
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_fullscreen(i32 window_id, bool fullscreen) => ()
|
||||||
set_frameless(i32 window_id, bool frameless) => ()
|
set_frameless(i32 window_id, bool frameless) => ()
|
||||||
popup_menu(i32 menu_id, Gfx::IntPoint screen_position) => ()
|
popup_menu(i32 menu_id, Gfx::IntPoint screen_position) => ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue