From 0790b898eadf5b9fbe0d6c8d2fd5b0892102fb8f Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 17 Apr 2002 06:57:10 +0000 Subject: root window scrolling --- src/fluxbox.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 8cccc84..3e7f475 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.50 2002/04/12 13:02:56 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.51 2002/04/17 06:57:10 fluxgen Exp $ //Use some GNU extensions #ifndef _GNU_SOURCE @@ -974,7 +974,11 @@ void Fluxbox::handleButtonEvent(XButtonEvent &be) { checkMenu(); screen->getRootmenu()->show(); } - } // end button == 3 + } else if (be.button == 4) { + screen->nextWorkspace(1); + } else if (be.button == 5) { + screen->nextWorkspace(1); + } } } } -- cgit v0.11.2