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)
This commit is contained in:
Matthias Clasen 2004-11-23 03:58:59 +00:00 committed by Matthias Clasen
parent 72411cdcc0
commit 4448389cc7
5 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -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: