summaryrefslogtreecommitdiff
path: root/Userland/Demos/Mouse
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2022-02-25 12:39:33 +0200
committerAndreas Kling <kling@serenityos.org>2022-02-25 22:35:12 +0100
commit935d0239676a6d71e3f7fc4d7e37c15d4b1fa6f5 (patch)
tree651928926497d516331807724ff448346996538e /Userland/Demos/Mouse
parentaf132fdbd183f82a55a8c03e1e1d2ba275f41067 (diff)
downloadserenity-935d0239676a6d71e3f7fc4d7e37c15d4b1fa6f5.zip
Userland: Rename WindowServerConnection=>ConnectionToWindowServer
This was done with CLion's automatic rename feature.
Diffstat (limited to 'Userland/Demos/Mouse')
-rw-r--r--Userland/Demos/Mouse/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Demos/Mouse/main.cpp b/Userland/Demos/Mouse/main.cpp
index 1a739e8e78..8ae5d9225f 100644
--- a/Userland/Demos/Mouse/main.cpp
+++ b/Userland/Demos/Mouse/main.cpp
@@ -10,6 +10,7 @@
#include <LibGUI/Action.h>
#include <LibGUI/Application.h>
#include <LibGUI/BoxLayout.h>
+#include <LibGUI/ConnectionToWindowServer.h>
#include <LibGUI/Frame.h>
#include <LibGUI/Icon.h>
#include <LibGUI/Menu.h>
@@ -17,7 +18,6 @@
#include <LibGUI/Painter.h>
#include <LibGUI/Widget.h>
#include <LibGUI/Window.h>
-#include <LibGUI/WindowServerConnection.h>
#include <LibGfx/Bitmap.h>
#include <LibGfx/Path.h>
#include <LibMain/Main.h>
@@ -74,7 +74,7 @@ public:
painter.stroke_path(path, Color::Black, 1);
- auto primary_secondary_switched = GUI::WindowServerConnection::the().get_buttons_switched();
+ auto primary_secondary_switched = GUI::ConnectionToWindowServer::the().get_buttons_switched();
auto primary_pressed = m_buttons & GUI::MouseButton::Primary;
auto secondary_pressed = m_buttons & GUI::MouseButton::Secondary;