]> www.fi.muni.cz Git - evince.git/commitdiff
Fix mouse wheel scrolling
authorMarco Pesenti Gritti <marco@gnome.org>
Sat, 1 Jan 2005 19:20:26 +0000 (19:20 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Sat, 1 Jan 2005 19:20:26 +0000 (19:20 +0000)
2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-view.c: (ev_view_realize):

        Fix mouse wheel scrolling

ChangeLog
shell/ev-view.c

index 883686f748f145fdd7c9bc65cbfb6eafa5412f3d..b1f569b351319f124158dc5d431c4fed230acecc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
+
+       * shell/ev-view.c: (ev_view_realize):
+
+       Fix mouse wheel scrolling
+
 2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>
 
        * ps/Makefile.am:
index bde7d33d6b140da9b46e208878dfbd126f2e5263..99c688e9445a65a5e6dea04d33875d8833dbe24f 100644 (file)
@@ -240,7 +240,7 @@ ev_view_realize (GtkWidget *widget)
        attributes.y = 0;
        attributes.width = MAX (widget->allocation.width, widget->requisition.width);
        attributes.height = MAX (widget->allocation.height, widget->requisition.height);
-       attributes.event_mask = GDK_EXPOSURE_MASK;
+       attributes.event_mask = GDK_EXPOSURE_MASK | GDK_SCROLL_MASK;
   
        view->bin_window = gdk_window_new (widget->window,
                                           &attributes,