We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19be18e commit 84963fdCopy full SHA for 84963fd
src/DesktopIntegration.vala
@@ -139,7 +139,13 @@ public class Gala.DesktopIntegration : GLib.Object {
139
throw new IOError.NOT_FOUND ("Workspace not found");
140
}
141
142
- workspace.activate (wm.get_display ().get_current_time ());
+ unowned var display = wm.get_display ();
143
+ unowned var active_workspace_index = display.get_workspace_manager ().get_active_workspace_index ();
144
+ if (active_workspace_index == index) {
145
+ InternalUtils.bell_notify (display);
146
+ } else {
147
+ workspace.activate (display.get_current_time ());
148
+ }
149
150
151
public int get_n_workspaces () throws GLib.DBusError, GLib.IOError {
0 commit comments