diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Toolbar.cc | 10 |
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 | ||