aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-02-20 23:13:32 (GMT)
committerfluxgen <fluxgen>2002-02-20 23:13:32 (GMT)
commitcda4903471e0ac0ce068c2bdfac948e060f07878 (patch)
tree231966f03bc6c70d11133f7fb82ffc2434f1e1c0
parent71bb7a8f7c30e064ce193da7b4c2a9910a1e7e1a (diff)
downloadfluxbox-cda4903471e0ac0ce068c2bdfac948e060f07878.zip
fluxbox-cda4903471e0ac0ce068c2bdfac948e060f07878.tar.bz2
parameter to workspace change
-rw-r--r--src/Toolbar.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 17741b1..e85f20d 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Toolbar.cc,v 1.11 2002/02/07 15:12:23 fluxgen Exp $ 22// $Id: Toolbar.cc,v 1.12 2002/02/20 23:13:32 fluxgen Exp $
23 23
24// stupid macros needed to access some functions in version 2 of the GNU C 24// stupid macros needed to access some functions in version 2 of the GNU C
25// library 25// library
@@ -1033,13 +1033,13 @@ void Toolbar::buttonReleaseEvent(XButtonEvent *re) {
1033 1033
1034 if (re->x >= 0 && re->x < (signed) frame.button_w && 1034 if (re->x >= 0 && re->x < (signed) frame.button_w &&
1035 re->y >= 0 && re->y < (signed) frame.button_w) 1035 re->y >= 0 && re->y < (signed) frame.button_w)
1036 screen->prevWorkspace(); 1036 screen->prevWorkspace(1);
1037 } else if (re->window == frame.nsbutton) { 1037 } else if (re->window == frame.nsbutton) {
1038 redrawNextWorkspaceButton(False, True); 1038 redrawNextWorkspaceButton(False, True);
1039 1039
1040 if (re->x >= 0 && re->x < (signed) frame.button_w && 1040 if (re->x >= 0 && re->x < (signed) frame.button_w &&
1041 re->y >= 0 && re->y < (signed) frame.button_w) 1041 re->y >= 0 && re->y < (signed) frame.button_w)
1042 screen->nextWorkspace(); 1042 screen->nextWorkspace(1);
1043 } else if (re->window == frame.pwbutton) { 1043 } else if (re->window == frame.pwbutton) {
1044 redrawPrevWindowButton(False, True); 1044 redrawPrevWindowButton(False, True);
1045 1045
@@ -1061,9 +1061,9 @@ void Toolbar::buttonReleaseEvent(XButtonEvent *re) {
1061 } 1061 }
1062#endif // HAVE_STRFTIME 1062#endif // HAVE_STRFTIME
1063 } else if (re->button == 4) //mousewheel scroll up 1063 } else if (re->button == 4) //mousewheel scroll up
1064 screen->nextWorkspace(); 1064 screen->nextWorkspace(1);
1065 else if (re->button == 5) //mousewheel scroll down 1065 else if (re->button == 5) //mousewheel scroll down
1066 screen->prevWorkspace(); 1066 screen->prevWorkspace(1);
1067} 1067}
1068 1068
1069 1069