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

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)