From a7f869b707f48c1c56d528903996a4f97b3d151c Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Tue, 20 Jan 2015 08:03:02 +0100
Subject: Fix zooming with mouse wheel
---
liblogdiag/ld-diagram-view.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/liblogdiag/ld-diagram-view.c b/liblogdiag/ld-diagram-view.c
index 704678d..76afac9 100644
--- a/liblogdiag/ld-diagram-view.c
+++ b/liblogdiag/ld-diagram-view.c
@@ -558,7 +558,7 @@ ld_diagram_view_init (LdDiagramView *self)
gtk_widget_add_events (GTK_WIDGET (self),
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK
| GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
- | GDK_LEAVE_NOTIFY_MASK);
+ | GDK_SCROLL_MASK | GDK_LEAVE_NOTIFY_MASK);
gtk_drag_dest_set (GTK_WIDGET (self), 0, &target, 1, GDK_ACTION_COPY);
}
--
cgit v1.2.3-70-g09d2