WindowServer+Taskbar: Make all the IPC used by Taskbar asynchronous

This commit is contained in:
Andreas Kling 2021-05-10 12:26:35 +02:00
parent 11dc790d69
commit bfeacb5728
2 changed files with 4 additions and 4 deletions

View file

@ -164,7 +164,7 @@ void TaskbarWindow::update_applet_area()
main_widget()->do_layout();
Gfx::IntRect new_rect { {}, m_applet_area_size };
new_rect.center_within(m_applet_area_container->screen_relative_rect());
GUI::WindowManagerServerConnection::the().set_applet_area_position(new_rect.location());
GUI::WindowManagerServerConnection::the().async_set_applet_area_position(new_rect.location());
}
NonnullRefPtr<GUI::Button> TaskbarWindow::create_button(const WindowIdentifier& identifier)

View file

@ -1,12 +1,12 @@
endpoint WindowManagerServer
{
set_event_mask(u32 event_mask) => ()
set_manager_window(i32 window_id) => ()
set_event_mask(u32 event_mask) =|
set_manager_window(i32 window_id) =|
set_active_window(i32 client_id, i32 window_id) =|
set_window_minimized(i32 client_id, i32 window_id, bool minimized) =|
start_window_resize(i32 client_id, i32 window_id) =|
popup_window_menu(i32 client_id, i32 window_id, Gfx::IntPoint screen_position) =|
set_window_taskbar_rect(i32 client_id, i32 window_id, Gfx::IntRect rect) =|
set_applet_area_position(Gfx::IntPoint position) => ()
set_applet_area_position(Gfx::IntPoint position) =|
}