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

LibGUI: Fix typo in ConnectionToWindowManagerServer

This commit is contained in:
Olivier De Cannière 2022-06-01 13:41:34 +02:00 committed by Andreas Kling
parent 524f4be5af
commit 6c202ee4a9
12 changed files with 41 additions and 41 deletions

View file

@ -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(),
{});

View file

@ -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);
}
};
}

View file

@ -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"));