Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2005-01-01 19:20:26 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-01-01 19:20:26 (GMT)
commit8e5042edbe098c8a8b760a36a8bc35dfca4e6041 (patch)
treec840a67d9ca05ae99efd49eedd5c7878ea0c8507 /shell
parent3d66ec495af171b60fed13902e840c72ee32fd92 (diff)
Fix mouse wheel scrolling
2005-01-01 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-view.c: (ev_view_realize): Fix mouse wheel scrolling
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-view.c2
1 files changed, 1 insertions, 1 deletions
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,