summaryrefslogtreecommitdiff
path: root/Userland/Applications/Magnifier
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-04 22:26:24 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-04 23:15:16 +0200
commit782a5c88ce895da644444c98be88e03e84526bbf (patch)
tree758b92bb3f10d4c04d8ee2049855db0c03e9577a /Userland/Applications/Magnifier
parent70c6090fef96cb7d2d65fe8b1139a1ce4768c000 (diff)
downloadserenity-782a5c88ce895da644444c98be88e03e84526bbf.zip
WindowServer: Make most remaining WindowServer IPC calls async
The only remaining sync call from client to server is now the call that switches a window's backing store. That one actually relies on the synchronization to hand over ownership of the backing stores, so it has to stay synchronous for now.
Diffstat (limited to 'Userland/Applications/Magnifier')
-rw-r--r--Userland/Applications/Magnifier/MagnifierWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Magnifier/MagnifierWidget.cpp b/Userland/Applications/Magnifier/MagnifierWidget.cpp
index aa0ce2df88..8c17a917e3 100644
--- a/Userland/Applications/Magnifier/MagnifierWidget.cpp
+++ b/Userland/Applications/Magnifier/MagnifierWidget.cpp
@@ -27,7 +27,7 @@ void MagnifierWidget::track_cursor_globally()
VERIFY(window_id >= 0);
set_global_cursor_tracking(true);
- GUI::WindowServerConnection::the().set_global_cursor_tracking(window_id, true);
+ GUI::WindowServerConnection::the().async_set_global_cursor_tracking(window_id, true);
}
void MagnifierWidget::set_scale_factor(int scale_factor)