From e52d1a02c8c767dd29c448819cf0fd62a47fd53a Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 27 Feb 2020 14:29:35 +0100 Subject: [PATCH] WindowServer: Stop trying to boost things since it's not working Let's temporarily disable the boosting calls until we have a solution for boosting in the new multi-user world. The error messages keep confusing people into thinking they're doing something wrong. --- Servers/WindowServer/ClientConnection.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Servers/WindowServer/ClientConnection.cpp b/Servers/WindowServer/ClientConnection.cpp index 2e9650485a..e5dc8941e9 100644 --- a/Servers/WindowServer/ClientConnection.cpp +++ b/Servers/WindowServer/ClientConnection.cpp @@ -704,14 +704,20 @@ OwnPtr ClientConnection::handle( void ClientConnection::boost() { + // FIXME: Re-enable this when we have a solution for boosting. +#if 0 if (set_process_boost(client_pid(), 10) < 0) perror("boost: set_process_boost"); +#endif } void ClientConnection::deboost() { + // FIXME: Re-enable this when we have a solution for boosting. +#if 0 if (set_process_boost(client_pid(), 0) < 0) perror("deboost: set_process_boost"); +#endif } OwnPtr ClientConnection::handle(const Messages::WindowServer::SetWindowBaseSizeAndSizeIncrement& message)