aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/IconButton.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc
index edc2fc1..770944f 100644
--- a/src/IconButton.cc
+++ b/src/IconButton.cc
@@ -91,7 +91,8 @@ public:
91 break; 91 break;
92 case IconbarTool::FOLLOW: 92 case IconbarTool::FOLLOW:
93 default: 93 default:
94 win.screen().changeWorkspaceID(win.workspaceNumber()); 94 if (!win.isStuck())
95 win.screen().changeWorkspaceID(win.workspaceNumber());
95 break; 96 break;
96 }; 97 };
97 win.raiseAndFocus(); 98 win.raiseAndFocus();