mirror of
https://github.com/elementary/gala.git
synced 2024-08-16 18:40:27 +03:00
DesktopIntegration: Switch to correct workspace when focusing window (#1939)
This commit is contained in:
parent
54afc63d4f
commit
44c8bce65b
@ -105,7 +105,7 @@ public class Gala.DesktopIntegration : GLib.Object {
|
|||||||
foreach (unowned var app in apps) {
|
foreach (unowned var app in apps) {
|
||||||
foreach (weak Meta.Window window in app.get_windows ()) {
|
foreach (weak Meta.Window window in app.get_windows ()) {
|
||||||
if (window.get_id () == uid) {
|
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 ());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user