diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-27 14:29:35 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-27 14:29:35 +0100 |
commit | e52d1a02c8c767dd29c448819cf0fd62a47fd53a (patch) | |
tree | 6c8204440293f64bb98f7a050a86399974e8b7ac /Servers | |
parent | fc611be59297d7758ac06eeb458ffe93c25669c2 (diff) | |
download | serenity-e52d1a02c8c767dd29c448819cf0fd62a47fd53a.zip |
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.
Diffstat (limited to 'Servers')
-rw-r--r-- | Servers/WindowServer/ClientConnection.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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<Messages::WindowServer::SetSystemThemeResponse> 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<Messages::WindowServer::SetWindowBaseSizeAndSizeIncrementResponse> ClientConnection::handle(const Messages::WindowServer::SetWindowBaseSizeAndSizeIncrement& message) |