mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:37:34 +00:00
Userland: Rename WindowManagerServerConnection
Rename WindowManagerServerConnection=>ConnectionToWindowManagerServer. This was done with CLion's automatic rename feature.
This commit is contained in:
parent
d88da82e28
commit
af132fdbd1
12 changed files with 41 additions and 41 deletions
|
@ -13,13 +13,13 @@
|
|||
#include <LibCore/StandardPaths.h>
|
||||
#include <LibGUI/BoxLayout.h>
|
||||
#include <LibGUI/Button.h>
|
||||
#include <LibGUI/ConnectionToWindowMangerServer.h>
|
||||
#include <LibGUI/Desktop.h>
|
||||
#include <LibGUI/Frame.h>
|
||||
#include <LibGUI/Icon.h>
|
||||
#include <LibGUI/Menu.h>
|
||||
#include <LibGUI/Painter.h>
|
||||
#include <LibGUI/Window.h>
|
||||
#include <LibGUI/WindowManagerServerConnection.h>
|
||||
#include <LibGUI/WindowServerConnection.h>
|
||||
#include <LibGfx/FontDatabase.h>
|
||||
#include <LibGfx/Palette.h>
|
||||
|
@ -105,7 +105,7 @@ TaskbarWindow::~TaskbarWindow()
|
|||
|
||||
void TaskbarWindow::show_desktop_button_clicked(unsigned)
|
||||
{
|
||||
GUI::WindowManagerServerConnection::the().async_toggle_show_desktop();
|
||||
GUI::ConnectionToWindowMangerServer::the().async_toggle_show_desktop();
|
||||
}
|
||||
|
||||
void TaskbarWindow::on_screen_rects_change(const Vector<Gfx::IntRect, 4>& rects, size_t main_screen_index)
|
||||
|
@ -124,7 +124,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::WindowManagerServerConnection::the().async_set_applet_area_position(new_rect.location());
|
||||
GUI::ConnectionToWindowMangerServer::the().async_set_applet_area_position(new_rect.location());
|
||||
}
|
||||
|
||||
NonnullRefPtr<GUI::Button> TaskbarWindow::create_button(const WindowIdentifier& identifier)
|
||||
|
@ -151,9 +151,9 @@ void TaskbarWindow::add_window_button(::Window& window, const WindowIdentifier&
|
|||
// false because window is the modal window's owner (which is not
|
||||
// active)
|
||||
if (window->is_minimized() || !button->is_checked()) {
|
||||
GUI::WindowManagerServerConnection::the().async_set_active_window(identifier.client_id(), identifier.window_id());
|
||||
GUI::ConnectionToWindowMangerServer::the().async_set_active_window(identifier.client_id(), identifier.window_id());
|
||||
} else {
|
||||
GUI::WindowManagerServerConnection::the().async_set_window_minimized(identifier.client_id(), identifier.window_id(), true);
|
||||
GUI::ConnectionToWindowMangerServer::the().async_set_window_minimized(identifier.client_id(), identifier.window_id(), true);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue