diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index a74ba0e..f26a0e6 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -181,12 +181,14 @@ public: | |||
181 | FbTk::RefCount<FbTk::Command> &cmd): | 181 | FbTk::RefCount<FbTk::Command> &cmd): |
182 | FbTk::MenuItem(label, cmd), | 182 | FbTk::MenuItem(label, cmd), |
183 | m_screen(screen), | 183 | m_screen(screen), |
184 | m_place(place) { } | 184 | m_place(place) { |
185 | setCloseOnClick(false); | ||
186 | } | ||
185 | 187 | ||
186 | bool isEnabled() const { return m_screen.getTabPlacement() != m_place; } | 188 | bool isEnabled() const { return m_screen.getTabPlacement() != m_place; } |
187 | void click(int button, int time) { | 189 | void click(int button, int time, unsigned int mods) { |
188 | m_screen.saveTabPlacement(m_place); | 190 | m_screen.saveTabPlacement(m_place); |
189 | FbTk::MenuItem::click(button, time); | 191 | FbTk::MenuItem::click(button, time, mods); |
190 | } | 192 | } |
191 | 193 | ||
192 | 194 | ||