summaryrefslogtreecommitdiff
path: root/Userland/Demos/CatDog
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/Demos/CatDog
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/Demos/CatDog')
-rw-r--r--Userland/Demos/CatDog/CatDog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/CatDog/CatDog.cpp b/Userland/Demos/CatDog/CatDog.cpp
index ffbd17dc00..bccfaab3a2 100644
--- a/Userland/Demos/CatDog/CatDog.cpp
+++ b/Userland/Demos/CatDog/CatDog.cpp
@@ -135,7 +135,7 @@ void CatDog::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 CatDog::context_menu_event(GUI::ContextMenuEvent& event)