summaryrefslogtreecommitdiff
path: root/Servers/WindowServer/WSClientConnection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Servers/WindowServer/WSClientConnection.cpp')
-rw-r--r--Servers/WindowServer/WSClientConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/WindowServer/WSClientConnection.cpp b/Servers/WindowServer/WSClientConnection.cpp
index e241eefbad..cd08b3e54e 100644
--- a/Servers/WindowServer/WSClientConnection.cpp
+++ b/Servers/WindowServer/WSClientConnection.cpp
@@ -532,7 +532,7 @@ void WSClientConnection::handle_request(const WSWMAPISetActiveWindowRequest& req
return;
}
auto& window = *(*it).value;
- WSWindowManager::the().set_active_window(&window);
+ WSWindowManager::the().move_to_front_and_make_active(window);
}
void WSClientConnection::on_request(const WSAPIClientRequest& request)