summaryrefslogtreecommitdiff
path: root/zwgc/xcut.c
diff options
context:
space:
mode:
Diffstat (limited to 'zwgc/xcut.c')
-rw-r--r--zwgc/xcut.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/zwgc/xcut.c b/zwgc/xcut.c
index 7c45cc4..cadfc3d 100644
--- a/zwgc/xcut.c
+++ b/zwgc/xcut.c
@@ -242,6 +242,11 @@ 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) &&
+ !get_bool_resource("scrollDelete","ScrollDelete",0)) {
+ /* Ignore scroll wheel movement. */
+ break;
} else if ( (event->xbutton.state)&ShiftMask ) {
if (event->xbutton.button==Button1) {
if (selecting_in)