[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara
caolanm at redhat.com
Wed Mar 4 09:26:20 PST 2015
vcl/unx/gtk/window/gtksalframe.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit adf7d868e787903caf6a9b2db0eac497ec0ac2e8
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Mar 4 17:25:37 2015 +0000
need GDK_SCROLL_MASK under gtk3 to get any wheel scroll events
Change-Id: I1170fd8dc2d355cbef37daaf5cc6640d72c4f74c
diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index df53136..9b868ac 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,
More information about the Libreoffice-commits
mailing list