summaryrefslogtreecommitdiff
path: root/zwgc
diff options
context:
space:
mode:
Diffstat (limited to 'zwgc')
-rw-r--r--zwgc/xcut.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zwgc/xcut.c b/zwgc/xcut.c
index 7c45cc4..a63ee1b 100644
--- a/zwgc/xcut.c
+++ b/zwgc/xcut.c
@@ -242,6 +242,10 @@ void xcut(dpy,event,desc_context)
case ButtonPress:
if (current_pressop != PRESSOP_NONE) {
current_pressop = PRESSOP_STOP;
+ } else if (event->xbutton.button==Button4 ||
+ event->xbutton.button==Button5) {
+ /* Ignore scroll wheel movement. */
+ break;
} else if ( (event->xbutton.state)&ShiftMask ) {
if (event->xbutton.button==Button1) {
if (selecting_in)