diff options
author | Olivier De Cannière <olivier.decanniere96@gmail.com> | 2022-06-01 13:41:34 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-06-01 19:31:34 +0200 |
commit | 6c202ee4a900ad19967be3721c333ed0e200bfe8 (patch) | |
tree | 6cd154728c89aa192d528d3eb95461e99e5c2e0c /Userland/Services | |
parent | 524f4be5afc68c39e6ae40526919fa23885dd8d3 (diff) | |
download | serenity-6c202ee4a900ad19967be3721c333ed0e200bfe8.zip |
LibGUI: Fix typo in ConnectionToWindowManagerServer
Diffstat (limited to 'Userland/Services')
-rw-r--r-- | Userland/Services/Taskbar/TaskbarButton.cpp | 8 | ||||
-rw-r--r-- | Userland/Services/Taskbar/TaskbarWindow.cpp | 10 | ||||
-rw-r--r-- | Userland/Services/Taskbar/main.cpp | 4 |
3 files changed, 11 insertions, 11 deletions
diff --git a/Userland/Services/Taskbar/TaskbarButton.cpp b/Userland/Services/Taskbar/TaskbarButton.cpp index 38e1923686..1eade91323 100644 --- a/Userland/Services/Taskbar/TaskbarButton.cpp +++ b/Userland/Services/Taskbar/TaskbarButton.cpp @@ -7,7 +7,7 @@ #include "TaskbarButton.h" #include "WindowList.h" #include <LibGUI/Action.h> -#include <LibGUI/ConnectionToWindowMangerServer.h> +#include <LibGUI/ConnectionToWindowManagerServer.h> #include <LibGUI/ConnectionToWindowServer.h> #include <LibGUI/Painter.h> #include <LibGfx/Font/Font.h> @@ -21,7 +21,7 @@ TaskbarButton::TaskbarButton(WindowIdentifier const& identifier) void TaskbarButton::context_menu_event(GUI::ContextMenuEvent&) { - GUI::ConnectionToWindowMangerServer::the().async_popup_window_menu( + GUI::ConnectionToWindowManagerServer::the().async_popup_window_menu( m_identifier.client_id(), m_identifier.window_id(), screen_relative_rect().location()); @@ -29,7 +29,7 @@ void TaskbarButton::context_menu_event(GUI::ContextMenuEvent&) void TaskbarButton::update_taskbar_rect() { - GUI::ConnectionToWindowMangerServer::the().async_set_window_taskbar_rect( + GUI::ConnectionToWindowManagerServer::the().async_set_window_taskbar_rect( m_identifier.client_id(), m_identifier.window_id(), screen_relative_rect()); @@ -37,7 +37,7 @@ void TaskbarButton::update_taskbar_rect() void TaskbarButton::clear_taskbar_rect() { - GUI::ConnectionToWindowMangerServer::the().async_set_window_taskbar_rect( + GUI::ConnectionToWindowManagerServer::the().async_set_window_taskbar_rect( m_identifier.client_id(), m_identifier.window_id(), {}); diff --git a/Userland/Services/Taskbar/TaskbarWindow.cpp b/Userland/Services/Taskbar/TaskbarWindow.cpp index cb060b4a61..cf0773b8bb 100644 --- a/Userland/Services/Taskbar/TaskbarWindow.cpp +++ b/Userland/Services/Taskbar/TaskbarWindow.cpp @@ -13,7 +13,7 @@ #include <LibCore/StandardPaths.h> #include <LibGUI/BoxLayout.h> #include <LibGUI/Button.h> -#include <LibGUI/ConnectionToWindowMangerServer.h> +#include <LibGUI/ConnectionToWindowManagerServer.h> #include <LibGUI/ConnectionToWindowServer.h> #include <LibGUI/Desktop.h> #include <LibGUI/Frame.h> @@ -110,7 +110,7 @@ void TaskbarWindow::config_string_did_change(String const& domain, String const& void TaskbarWindow::show_desktop_button_clicked(unsigned) { - GUI::ConnectionToWindowMangerServer::the().async_toggle_show_desktop(); + GUI::ConnectionToWindowManagerServer::the().async_toggle_show_desktop(); } void TaskbarWindow::on_screen_rects_change(Vector<Gfx::IntRect, 4> const& rects, size_t main_screen_index) @@ -129,7 +129,7 @@ void TaskbarWindow::update_applet_area() return; main_widget()->do_layout(); auto new_rect = Gfx::IntRect({}, m_applet_area_size).centered_within(m_applet_area_container->screen_relative_rect()); - GUI::ConnectionToWindowMangerServer::the().async_set_applet_area_position(new_rect.location()); + GUI::ConnectionToWindowManagerServer::the().async_set_applet_area_position(new_rect.location()); } NonnullRefPtr<GUI::Button> TaskbarWindow::create_button(WindowIdentifier const& identifier) @@ -156,9 +156,9 @@ void TaskbarWindow::add_window_button(::Window& window, WindowIdentifier const& // false because window is the modal window's owner (which is not // active) if (window->is_minimized() || !button->is_checked()) { - GUI::ConnectionToWindowMangerServer::the().async_set_active_window(identifier.client_id(), identifier.window_id()); + GUI::ConnectionToWindowManagerServer::the().async_set_active_window(identifier.client_id(), identifier.window_id()); } else { - GUI::ConnectionToWindowMangerServer::the().async_set_window_minimized(identifier.client_id(), identifier.window_id(), true); + GUI::ConnectionToWindowManagerServer::the().async_set_window_minimized(identifier.client_id(), identifier.window_id(), true); } }; } diff --git a/Userland/Services/Taskbar/main.cpp b/Userland/Services/Taskbar/main.cpp index 5778cd9042..19720fde75 100644 --- a/Userland/Services/Taskbar/main.cpp +++ b/Userland/Services/Taskbar/main.cpp @@ -17,7 +17,7 @@ #include <LibDesktop/Launcher.h> #include <LibGUI/ActionGroup.h> #include <LibGUI/Application.h> -#include <LibGUI/ConnectionToWindowMangerServer.h> +#include <LibGUI/ConnectionToWindowManagerServer.h> #include <LibGUI/ConnectionToWindowServer.h> #include <LibGUI/Menu.h> #include <LibGUI/Process.h> @@ -56,7 +56,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) TRY(Core::System::pledge("stdio recvfd sendfd proc exec rpath unix")); - GUI::ConnectionToWindowMangerServer::the(); + GUI::ConnectionToWindowManagerServer::the(); Desktop::Launcher::ensure_connection(); TRY(Core::System::pledge("stdio recvfd sendfd proc exec rpath")); |