Commit 4448389c authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Handle scroll events. (#159098, Felipe Heidrich)

2004-11-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkevents.c (gdk_event_get_root_coords): Handle scroll
	events.  (#159098, Felipe Heidrich)
parent 72411cdc
2004-11-22 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkevents.c (gdk_event_get_root_coords): Handle scroll
events. (#159098, Felipe Heidrich)
2004-11-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenuitem.c (gtk_menu_item_paint): Make the size of
......
2004-11-22 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkevents.c (gdk_event_get_root_coords): Handle scroll
events. (#159098, Felipe Heidrich)
2004-11-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenuitem.c (gtk_menu_item_paint): Make the size of
......
2004-11-22 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkevents.c (gdk_event_get_root_coords): Handle scroll
events. (#159098, Felipe Heidrich)
2004-11-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenuitem.c (gtk_menu_item_paint): Make the size of
......
2004-11-22 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkevents.c (gdk_event_get_root_coords): Handle scroll
events. (#159098, Felipe Heidrich)
2004-11-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenuitem.c (gtk_menu_item_paint): Make the size of
......
......@@ -730,6 +730,10 @@ gdk_event_get_root_coords (GdkEvent *event,
x = event->motion.x_root;
y = event->motion.y_root;
break;
case GDK_SCROLL:
x = event->scroll.x_root;
y = event->scroll.y_root;
break;
case GDK_BUTTON_PRESS:
case GDK_2BUTTON_PRESS:
case GDK_3BUTTON_PRESS:
......
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