diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index f61eca2..d4aefa2 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: fluxbox.cc,v 1.56 2002/05/08 09:33:11 fluxgen Exp $ | 25 | // $Id: fluxbox.cc,v 1.57 2002/05/08 10:14:51 fluxgen Exp $ |
26 | 26 | ||
27 | //Use GNU extensions | 27 | //Use GNU extensions |
28 | #ifndef _GNU_SOURCE | 28 | #ifndef _GNU_SOURCE |
@@ -973,9 +973,9 @@ void Fluxbox::handleButtonEvent(XButtonEvent &be) { | |||
973 | checkMenu(); | 973 | checkMenu(); |
974 | screen->getRootmenu()->show(); | 974 | screen->getRootmenu()->show(); |
975 | } | 975 | } |
976 | } else if (be.button == 4) { | 976 | } else if (screen->isDesktopWheeling() && be.button == 4) { |
977 | screen->nextWorkspace(1); | 977 | screen->nextWorkspace(1); |
978 | } else if (be.button == 5) { | 978 | } else if (screen->isDesktopWheeling() && be.button == 5) { |
979 | screen->prevWorkspace(1); | 979 | screen->prevWorkspace(1); |
980 | } | 980 | } |
981 | } | 981 | } |