summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-04 17:25:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-04 17:25:37 +0000
commitadf7d868e787903caf6a9b2db0eac497ec0ac2e8 (patch)
tree5503678936d74a19f0d18eced0c43fba4302160e /vcl/unx
parent5262c5101e9c6e2a79f400a625f27df9b3bfbef5 (diff)
need GDK_SCROLL_MASK under gtk3 to get any wheel scroll events
Change-Id: I1170fd8dc2d355cbef37daaf5cc6640d72c4f74c
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk/window/gtksalframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index df53136ca76e..9b868acc2bf3 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -1033,7 +1033,7 @@ void GtkSalFrame::InitCommon()
gtk_widget_add_events( m_pWindow,
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK |
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK |
- GDK_VISIBILITY_NOTIFY_MASK
+ GDK_VISIBILITY_NOTIFY_MASK | GDK_SCROLL_MASK
);
// add the fixed container child,