DesktopIntegration: Switch to correct workspace when focusing window (#1939)

This commit is contained in:
Leonhard 2024-05-30 04:06:49 +02:00 committed by GitHub
parent 54afc63d4f
commit 44c8bce65b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -105,7 +105,7 @@ public class Gala.DesktopIntegration : GLib.Object {
foreach (unowned var app in apps) {
foreach (weak Meta.Window window in app.get_windows ()) {
if (window.get_id () == uid) {
window.activate (wm.get_display ().get_current_time ());
window.get_workspace ().activate_with_focus (window, wm.get_display ().get_current_time ());
}
}
}