From: Marco Pesenti Gritti Date: Sat, 1 Jan 2005 19:20:26 +0000 (+0000) Subject: Fix mouse wheel scrolling X-Git-Tag: EVINCE_0_1_0~41 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=8e5042edbe098c8a8b760a36a8bc35dfca4e6041;p=evince.git Fix mouse wheel scrolling 2005-01-01 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_realize): Fix mouse wheel scrolling --- 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,