vcl/unx/gtk/window/gtksalframe.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 6727b20c71962eb41e4f878bd932902fa13e315f Author: Caolán McNamara <caol...@redhat.com> Date: Wed Mar 4 17:33:28 2015 +0000 make wheel scrolling work under gtk3 Change-Id: I8a0482abcedd07006d6229c073f89ce0e22e4699 diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx index 9b868ac..71bddc2 100644 --- a/vcl/unx/gtk/window/gtksalframe.cxx +++ b/vcl/unx/gtk/window/gtksalframe.cxx @@ -3247,6 +3247,12 @@ gboolean GtkSalFrame::signalScroll( GtkWidget*, GdkEvent* pEvent, gpointer frame GtkSalFrame* pThis = (GtkSalFrame*)frame; GdkEventScroll* pSEvent = reinterpret_cast<GdkEventScroll*>(pEvent); +#if GTK_CHECK_VERSION(3,0,0) + //TODO: do something less feeble here + if (pSEvent->direction == GDK_SCROLL_SMOOTH) + return false; +#endif + static sal_uLong nLines = 0; if( ! nLines ) {
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits