Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--shell/ev-view.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 883686f..b1f569b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
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:
* ps/gstypes.h:
* ps/gtkgs.c:
diff --git a/shell/ev-view.c b/shell/ev-view.c
index bde7d33..99c688e 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -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,