WindowServer: Return correct IsMaximized response

This commit is contained in:
thankyouverycool 2020-08-30 14:49:56 -04:00 committed by Andreas Kling
parent 4b5cfce6b1
commit 72deaa3423
Notes: sideshowbarker 2024-07-19 02:58:42 +09:00

View file

@ -371,7 +371,7 @@ OwnPtr<Messages::WindowServer::IsMaximizedResponse> ClientConnection::handle(con
did_misbehave("IsMaximized: Bad window ID");
return nullptr;
}
return make<Messages::WindowServer::IsMaximizedResponse>(it->value->is_minimized());
return make<Messages::WindowServer::IsMaximizedResponse>(it->value->is_maximized());
}
OwnPtr<Messages::WindowServer::SetWindowIconBitmapResponse> ClientConnection::handle(const Messages::WindowServer::SetWindowIconBitmap& message)