diff options
Diffstat (limited to 'src/IconButton.cc')
-rw-r--r-- | src/IconButton.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc index 24bdddf..40310e6 100644 --- a/src/IconButton.cc +++ b/src/IconButton.cc | |||
@@ -81,20 +81,17 @@ public: | |||
81 | m_win.screen().sendToWorkspace(m_win.screen().currentWorkspaceID(), &m_win); | 81 | m_win.screen().sendToWorkspace(m_win.screen().currentWorkspaceID(), &m_win); |
82 | } else { | 82 | } else { |
83 | m_win.screen().changeWorkspaceID(m_win.workspaceNumber()); | 83 | m_win.screen().changeWorkspaceID(m_win.workspaceNumber()); |
84 | m_win.raiseAndFocus(); | ||
85 | } | 84 | } |
86 | break; | 85 | break; |
87 | case IconbarTool::CURRENT: | 86 | case IconbarTool::CURRENT: |
88 | m_win.screen().sendToWorkspace(m_win.screen().currentWorkspaceID(), &m_win); | 87 | m_win.screen().sendToWorkspace(m_win.screen().currentWorkspaceID(), &m_win); |
89 | m_win.raiseAndFocus(); | ||
90 | break; | 88 | break; |
91 | case IconbarTool::FOLLOW: | 89 | case IconbarTool::FOLLOW: |
92 | default: | 90 | default: |
93 | m_win.screen().changeWorkspaceID(m_win.workspaceNumber()); | 91 | m_win.screen().changeWorkspaceID(m_win.workspaceNumber()); |
94 | m_win.raiseAndFocus(); | ||
95 | break; | 92 | break; |
96 | }; | 93 | }; |
97 | 94 | m_win.raiseAndFocus(); | |
98 | } else | 95 | } else |
99 | m_win.iconify(); | 96 | m_win.iconify(); |
100 | } | 97 | } |