Jelajahi Sumber

WindowServer: WM_SetActiveWindow should move the window to front as well.

Andreas Kling 6 tahun lalu
induk
melakukan
8f38c01600
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Servers/WindowServer/WSClientConnection.cpp

+ 1 - 1
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)