From f26436c7d689c96678cb8d81d38588f7496dce1c Mon Sep 17 00:00:00 2001
From: Olivier Fourdan <fourdan.olivier@wanadoo.fr>
Date: Thu, 8 Apr 2004 17:07:42 +0000
Subject: [PATCH] Fix bug #138

(Old svn revision: 11688)
---
 src/events.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/events.c b/src/events.c
index a43d75db7..3c314105e 100644
--- a/src/events.c
+++ b/src/events.c
@@ -637,14 +637,6 @@ rootScrollButton (XButtonEvent * ev)
     static Time lastscroll = (Time) 0;
     XEvent otherEvent;
 
-    while (XCheckTypedWindowEvent (dpy, root, ButtonPress, &otherEvent))
-    {
-        last_timestamp = stashEventTime (last_timestamp, &otherEvent);
-        if (otherEvent.xbutton.button != ev->button)
-        {
-            XPutBackEvent (dpy, &otherEvent);
-        }
-    }
     if ((ev->time - lastscroll) < 100)  /* ms */
     {
         /* Too many events in too little time, drop this event... */
-- 
GitLab