diff options
Diffstat (limited to 'gtk/ScintillaGTK.cxx')
| -rw-r--r-- | gtk/ScintillaGTK.cxx | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 178c591d8..dea716c82 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -1967,6 +1967,13 @@ gint ScintillaGTK::ScrollEvent(GtkWidget *widget,  			return FALSE;  		} +#if GTK_CHECK_VERSION(3,4,0) +		// Smooth scrolling not supported +		if (event->direction == GDK_SCROLL_SMOOTH) { +			return FALSE; +		} +#endif +  		// Horizontal scrolling  		if (event->direction == GDK_SCROLL_LEFT || event->direction == GDK_SCROLL_RIGHT) {  			sciThis->HorizontalScrollTo(sciThis->xOffset + cLineScroll); | 
