summaryrefslogtreecommitdiff
path: root/src/WorkspaceMenu.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2008-09-22 05:44:50 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2008-09-22 05:44:50 (GMT)
commit769ca8f1c8e156d919f6cacf90e0651530c4d943 (patch)
tree81e47249c7953961fd61e4aa466ff50265896975 /src/WorkspaceMenu.cc
parent984fb5bef200cd7db7a9a13354f50b55919978af (diff)
parent3f33657fb721645292f798480e9e0b46d64aedf8 (diff)
downloadfluxbox_lack-769ca8f1c8e156d919f6cacf90e0651530c4d943.zip
fluxbox_lack-769ca8f1c8e156d919f6cacf90e0651530c4d943.tar.bz2
Merge branch 'master' of fluxbox@dev:fluxbox
Diffstat (limited to 'src/WorkspaceMenu.cc')
-rw-r--r--src/WorkspaceMenu.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WorkspaceMenu.cc b/src/WorkspaceMenu.cc
index c343920..f03dd3c 100644
--- a/src/WorkspaceMenu.cc
+++ b/src/WorkspaceMenu.cc
@@ -80,7 +80,7 @@ void WorkspaceMenu::workspaceInfoChanged( BScreen& screen ) {
80 insert(mb_menu, workspace + IDX_AFTER_ICONS); 80 insert(mb_menu, workspace + IDX_AFTER_ICONS);
81 } 81 }
82 82
83 updateMenu(-1); 83 updateMenu();
84} 84}
85 85
86void WorkspaceMenu::workspaceChanged(BScreen& screen) { 86void WorkspaceMenu::workspaceChanged(BScreen& screen) {
@@ -89,12 +89,12 @@ void WorkspaceMenu::workspaceChanged(BScreen& screen) {
89 item = find(i + IDX_AFTER_ICONS); 89 item = find(i + IDX_AFTER_ICONS);
90 if (item && item->isSelected()) { 90 if (item && item->isSelected()) {
91 setItemSelected(i + IDX_AFTER_ICONS, false); 91 setItemSelected(i + IDX_AFTER_ICONS, false);
92 updateMenu(i + IDX_AFTER_ICONS); 92 updateMenu();
93 break; 93 break;
94 } 94 }
95 } 95 }
96 setItemSelected(screen.currentWorkspace()->workspaceID() + IDX_AFTER_ICONS, true); 96 setItemSelected(screen.currentWorkspace()->workspaceID() + IDX_AFTER_ICONS, true);
97 updateMenu(screen.currentWorkspace()->workspaceID() + IDX_AFTER_ICONS); 97 updateMenu();
98} 98}
99 99
100void WorkspaceMenu::init(BScreen &screen) { 100void WorkspaceMenu::init(BScreen &screen) {