diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-12 06:05:04 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-12 06:05:04 +0000 |
| commit | 8d3c97389f23271c7b44a726111c97d34bc2ced2 (patch) | |
| tree | 785933ad6c2ca8d754f62420d9dbdbf2744b4ddf /src/Workspacemenu.cc | |
| parent | e532e9576baa72559543aa1fa19852d38c1fe5e4 (diff) | |
save_rc() using the obResource class to save blackbox's configuration.
renamed BScreen::getCount to BScreen::getWorkspaceCount.
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 bec5f455..7f94e5fb 100644 --- a/src/Workspacemenu.cc +++ b/src/Workspacemenu.cc @@ -61,7 +61,7 @@ void Workspacemenu::itemSelected(int button, int index) { else if (index == 1) screen->removeLastWorkspace(); else if ((screen->getCurrentWorkspace()->getWorkspaceID() != - (index - 2)) && ((index - 2) < screen->getCount())) + (index - 2)) && ((index - 2) < screen->getWorkspaceCount())) screen->changeWorkspaceID(index - 2); if (! (screen->getWorkspacemenu()->isTorn() || isTorn())) |
