diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-19 16:36:08 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-19 16:36:08 (GMT) |
commit | 75850d8b604b8d35350f7eb535213eecf10beefc (patch) | |
tree | f7c53a0ba9c205668cab968da16c6c386f651b19 /src/WorkspaceMenu.cc | |
parent | 4e64d45e1678f525fe20b4a53fb9539a58f18176 (diff) | |
download | fluxbox-75850d8b604b8d35350f7eb535213eecf10beefc.zip fluxbox-75850d8b604b8d35350f7eb535213eecf10beefc.tar.bz2 |
shift+enter wasn't sending right click if the menu item had a submenu
Diffstat (limited to 'src/WorkspaceMenu.cc')
-rw-r--r-- | src/WorkspaceMenu.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorkspaceMenu.cc b/src/WorkspaceMenu.cc index 5a83170..3bef2b6 100644 --- a/src/WorkspaceMenu.cc +++ b/src/WorkspaceMenu.cc | |||
@@ -125,7 +125,7 @@ void WorkspaceMenu::init(BScreen &screen) { | |||
125 | wkspc->name().c_str(), | 125 | wkspc->name().c_str(), |
126 | &wkspc->menu()); | 126 | &wkspc->menu()); |
127 | FbTk::RefCount<FbTk::Command<void> > jump_cmd(new JumpToWorkspaceCmd(wkspc->workspaceID())); | 127 | FbTk::RefCount<FbTk::Command<void> > jump_cmd(new JumpToWorkspaceCmd(wkspc->workspaceID())); |
128 | mb_menu->setCommand(2, jump_cmd); | 128 | mb_menu->setCommand(3, jump_cmd); |
129 | insert(mb_menu, workspace + IDX_AFTER_ICONS); | 129 | insert(mb_menu, workspace + IDX_AFTER_ICONS); |
130 | } | 130 | } |
131 | setItemSelected(screen.currentWorkspace()->workspaceID() + IDX_AFTER_ICONS, true); | 131 | setItemSelected(screen.currentWorkspace()->workspaceID() + IDX_AFTER_ICONS, true); |