aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-03-11 19:11:03 +1100
committernyamatongwe <devnull@localhost>2012-03-11 19:11:03 +1100
commita0153e274b57216b1b03805a6442fd00aab78935 (patch)
treef2b64982216e834ad551d3002a2d712e9ca519b1
parentb721ed91424bf057244c30e140d48aa156f6e541 (diff)
downloadscintilla-mirror-a0153e274b57216b1b03805a6442fd00aab78935.tar.gz
Make mouse wheel scrolling work again on recent GTK+. Bug #3501321.
From Sébastien Granjoux.
-rw-r--r--gtk/ScintillaGTK.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index 395fc2ba7..f40f11494 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -719,6 +719,7 @@ void ScintillaGTK::Initialise() {
#endif
gtk_widget_set_events(PWidget(wMain),
GDK_EXPOSURE_MASK
+ | GDK_SCROLL_MASK
| GDK_STRUCTURE_MASK
| GDK_KEY_PRESS_MASK
| GDK_KEY_RELEASE_MASK