Commit 5b2f2133 authored by Havoc Pennington's avatar Havoc Pennington Committed by Havoc Pennington

Ignore releases for buttons 6, 7

2001-06-04  Havoc Pennington  <hp@pobox.com>

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore
	releases for buttons 6, 7
parent 96d2d801
2001-06-04 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore
releases for buttons 6, 7
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkseparatormenuitem.h: Fix a search-and-replace screwup
......
2001-06-04 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore
releases for buttons 6, 7
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkseparatormenuitem.h: Fix a search-and-replace screwup
......
2001-06-04 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore
releases for buttons 6, 7
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkseparatormenuitem.h: Fix a search-and-replace screwup
......
2001-06-04 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore
releases for buttons 6, 7
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkseparatormenuitem.h: Fix a search-and-replace screwup
......
2001-06-04 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore
releases for buttons 6, 7
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkseparatormenuitem.h: Fix a search-and-replace screwup
......
2001-06-04 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore
releases for buttons 6, 7
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkseparatormenuitem.h: Fix a search-and-replace screwup
......
2001-06-04 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore
releases for buttons 6, 7
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkseparatormenuitem.h: Fix a search-and-replace screwup
......
......@@ -712,7 +712,8 @@ gdk_event_translate (GdkEvent *event,
}
/* We treat button presses as scroll wheel events, so ignore the release */
if (xevent->xbutton.button == 4 || xevent->xbutton.button == 5)
if (xevent->xbutton.button == 4 || xevent->xbutton.button == 5 ||
xevent->xbutton.button == 6 || xevent->xbutton.button ==7)
{
return_val = FALSE;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment