From 42112396281296b75a5dac564700c39d62da79b2 Mon Sep 17 00:00:00 2001 From: "pavlov%netscape.com" Date: Wed, 5 Jan 2000 01:26:55 +0000 Subject: [PATCH] throw out some events cause they don't look too useful. r=alecf --- widget/src/gtk/nsGtkEventHandler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/widget/src/gtk/nsGtkEventHandler.cpp b/widget/src/gtk/nsGtkEventHandler.cpp index 67fa103fe9c..ec93c3203cd 100644 --- a/widget/src/gtk/nsGtkEventHandler.cpp +++ b/widget/src/gtk/nsGtkEventHandler.cpp @@ -932,6 +932,7 @@ handle_xlib_bin_event(GdkSuperWin *superwin, XEvent *event, gpointer p) window->HandleXlibButtonEvent((XButtonEvent *)event); break; case MotionNotify: + while (XCheckMaskEvent(GDK_DISPLAY(), ButtonMotionMask, event)); window->HandleXlibMotionNotifyEvent((XMotionEvent *) event); break; case EnterNotify: