Skip to content

Commit e7a27af

Browse files
committed
DesktopIntegration: Emit windows changed on workspace changed
The indicators of the dock change appearance depending on whether windows are on the current workspace or another so we have to update it when the workspace changes.
1 parent 3fb861a commit e7a27af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DesktopIntegration.vala

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public class Gala.DesktopIntegration : GLib.Object {
2424
public DesktopIntegration (WindowManagerGala wm) {
2525
this.wm = wm;
2626
wm.window_tracker.windows_changed.connect (() => windows_changed ());
27+
wm.get_display ().get_workspace_manager ().active_workspace_changed.connect (() => windows_changed ());
2728
}
2829

2930
public RunningApplication[] get_running_applications () throws GLib.DBusError, GLib.IOError {

0 commit comments

Comments
 (0)