diff options
author | markt <markt> | 2007-02-09 18:13:01 (GMT) |
---|---|---|
committer | markt <markt> | 2007-02-09 18:13:01 (GMT) |
commit | 6fdda1a31d2417c23f5f222114d30ce6abec8b40 (patch) | |
tree | 929a0c0a5ffac232568011ef055934354f4367da /src/FbCommands.cc | |
parent | 93d8310c0c51fe1edcdfa5240f724ab6306ce92a (diff) | |
download | fluxbox-6fdda1a31d2417c23f5f222114d30ce6abec8b40.zip fluxbox-6fdda1a31d2417c23f5f222114d30ce6abec8b40.tar.bz2 |
added mouse bindings to the keys file
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r-- | src/FbCommands.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc index 5fbceab..692e12f 100644 --- a/src/FbCommands.cc +++ b/src/FbCommands.cc | |||
@@ -260,6 +260,15 @@ void KeyModeCmd::execute() { | |||
260 | Fluxbox::instance()->keys()->keyMode(m_keymode); | 260 | Fluxbox::instance()->keys()->keyMode(m_keymode); |
261 | } | 261 | } |
262 | 262 | ||
263 | void HideMenuCmd::execute() { | ||
264 | BScreen *screen = Fluxbox::instance()->mouseScreen(); | ||
265 | screen->hideMenus(); | ||
266 | if (screen->rootMenu().isVisible()) | ||
267 | screen->rootMenu().hide(); | ||
268 | if (screen->workspaceMenu().isVisible()) | ||
269 | screen->workspaceMenu().hide(); | ||
270 | } | ||
271 | |||
263 | void ShowRootMenuCmd::execute() { | 272 | void ShowRootMenuCmd::execute() { |
264 | BScreen *screen = Fluxbox::instance()->mouseScreen(); | 273 | BScreen *screen = Fluxbox::instance()->mouseScreen(); |
265 | if (screen == 0) | 274 | if (screen == 0) |