summaryrefslogtreecommitdiff
path: root/Userland/Applications/Magnifier
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/Applications/Magnifier
parentaf132fdbd183f82a55a8c03e1e1d2ba275f41067 (diff)
downloadserenity-935d0239676a6d71e3f7fc4d7e37c15d4b1fa6f5.zip
Userland: Rename WindowServerConnection=>ConnectionToWindowServer
This was done with CLion's automatic rename feature.
Diffstat (limited to 'Userland/Applications/Magnifier')
-rw-r--r--Userland/Applications/Magnifier/MagnifierWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/Magnifier/MagnifierWidget.cpp b/Userland/Applications/Magnifier/MagnifierWidget.cpp
index b60bcc25e6..3595ece21e 100644
--- a/Userland/Applications/Magnifier/MagnifierWidget.cpp
+++ b/Userland/Applications/Magnifier/MagnifierWidget.cpp
@@ -6,10 +6,10 @@
*/
#include "MagnifierWidget.h"
+#include <LibGUI/ConnectionToWindowServer.h>
#include <LibGUI/DisplayLink.h>
#include <LibGUI/Painter.h>
#include <LibGUI/Window.h>
-#include <LibGUI/WindowServerConnection.h>
#include <LibGfx/Rect.h>
MagnifierWidget::MagnifierWidget()
@@ -53,7 +53,7 @@ void MagnifierWidget::sync()
auto size = frame_inner_rect().size();
Gfx::IntSize grab_size { size.width() / m_scale_factor, size.height() / m_scale_factor };
- m_grabbed_bitmap = GUI::WindowServerConnection::the().get_screen_bitmap_around_cursor(grab_size).bitmap();
+ m_grabbed_bitmap = GUI::ConnectionToWindowServer::the().get_screen_bitmap_around_cursor(grab_size).bitmap();
m_grabbed_bitmaps.enqueue(m_grabbed_bitmap);
update();
}