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 1cd5790 commit e1ffd62Copy full SHA for e1ffd62
src/panel/applets/workspaces/WindowIcon.vala
@@ -55,14 +55,10 @@ namespace Workspaces {
55
public override bool button_release_event(Gdk.EventButton event) {
56
if (event.button != 1) return Gdk.EVENT_STOP;
57
58
- var workspace = WorkspacesApplet.workspace_group.get_active_workspace();
59
- if (workspace != null && workspace == window.get_workspace()) {
60
- try {
61
- window.activate(event.time);
62
- } catch (Error e) {
63
- warning("Failed to activate window: %s", e.message);
64
- }
65
- return Gdk.EVENT_STOP;
+ try {
+ window.activate(event.time);
+ } catch (Error e) {
+ warning("Failed to activate window: %s", e.message);
66
}
67
return Gdk.EVENT_STOP;
68
0 commit comments