From 8e5042edbe098c8a8b760a36a8bc35dfca4e6041 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 1 Jan 2005 19:20:26 +0000 Subject: [PATCH] Fix mouse wheel scrolling 2005-01-01 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_realize): Fix mouse wheel scrolling --- ChangeLog | 6 ++++++ shell/ev-view.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 883686f7..b1f569b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-01-01 Marco Pesenti Gritti + + * shell/ev-view.c: (ev_view_realize): + + Fix mouse wheel scrolling + 2005-01-01 Marco Pesenti Gritti * ps/Makefile.am: diff --git a/shell/ev-view.c b/shell/ev-view.c index bde7d33d..99c688e9 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, -- 2.47.1