summaryrefslogtreecommitdiff
path: root/Servers
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-04 16:38:42 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-04 16:38:42 +0200
commit8f38c01600efe8cb65f69bca41214d015ede551b (patch)
tree11d0bf516af7635d79e0175046cbdf16ca0b573a /Servers
parent64a5abf8db3694cc73b4d822f482f1fa4dde8647 (diff)
downloadserenity-8f38c01600efe8cb65f69bca41214d015ede551b.zip
WindowServer: WM_SetActiveWindow should move the window to front as well.
Diffstat (limited to 'Servers')
-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)