summaryrefslogtreecommitdiff
path: root/Servers/WindowServer
diff options
context:
space:
mode:
Diffstat (limited to 'Servers/WindowServer')
-rw-r--r--Servers/WindowServer/WSClientConnection.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Servers/WindowServer/WSClientConnection.cpp b/Servers/WindowServer/WSClientConnection.cpp
index 24835ed49a..c463956cff 100644
--- a/Servers/WindowServer/WSClientConnection.cpp
+++ b/Servers/WindowServer/WSClientConnection.cpp
@@ -655,12 +655,12 @@ OwnPtr<WindowServer::StartDragResponse> WSClientConnection::handle(const WindowS
void WSClientConnection::boost()
{
- if (set_thread_boost(client_pid(), 10) < 0)
- perror("boost: set_thread_boost");
+ if (set_process_boost(client_pid(), 10) < 0)
+ perror("boost: set_process_boost");
}
void WSClientConnection::deboost()
{
- if (set_thread_boost(client_pid(), 0) < 0)
- perror("deboost: set_thread_boost");
+ if (set_process_boost(client_pid(), 0) < 0)
+ perror("deboost: set_process_boost");
}