File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ public class Gala.DesktopIntegration : GLib.Object {
58
58
public Window [] get_windows () throws GLib .DBusError , GLib .IOError {
59
59
Window [] returned_windows = {};
60
60
var apps = Gala . AppSystem . get_default (). get_running_apps ();
61
+ var active_workspace = wm. get_display (). get_workspace_manager (). get_active_workspace ();
61
62
foreach (unowned var app in apps) {
62
63
foreach (weak Meta . Window window in app. get_windows ()) {
63
64
if (! is_eligible_window (window)) {
@@ -74,6 +75,7 @@ public class Gala.DesktopIntegration : GLib.Object {
74
75
properties. insert (" client-type" , new GLib .Variant .uint32 (window. get_client_type ()));
75
76
properties. insert (" is-hidden" , new GLib .Variant .boolean (window. is_hidden ()));
76
77
properties. insert (" has-focus" , new GLib .Variant .boolean (window. has_focus ()));
78
+ properties. insert (" on-active-workspace" , new GLib .Variant .boolean (window. located_on_workspace (active_workspace)));
77
79
properties. insert (" width" , new GLib .Variant .uint32 (frame_rect. width));
78
80
properties. insert (" height" , new GLib .Variant .uint32 (frame_rect. height));
79
81
You can’t perform that action at this time.
0 commit comments