diff --git a/Services/WindowServer/ClientConnection.cpp b/Services/WindowServer/ClientConnection.cpp index 1c6937e76fc..5f1e13f76b6 100644 --- a/Services/WindowServer/ClientConnection.cpp +++ b/Services/WindowServer/ClientConnection.cpp @@ -371,7 +371,7 @@ OwnPtr ClientConnection::handle(con did_misbehave("IsMaximized: Bad window ID"); return nullptr; } - return make(it->value->is_minimized()); + return make(it->value->is_maximized()); } OwnPtr ClientConnection::handle(const Messages::WindowServer::SetWindowIconBitmap& message)