[gtk+/smooth-scrolling: 14/16] textview: set GDK_SMOOTH_SCROLL_MASK
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/smooth-scrolling: 14/16] textview: set GDK_SMOOTH_SCROLL_MASK
- Date: Sat, 18 Feb 2012 17:10:27 +0000 (UTC)
commit f549b02a096715c84078339d57dc9e5c82236be0
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Jan 24 12:18:09 2012 +0100
textview: set GDK_SMOOTH_SCROLL_MASK
This is so smooth scroll events are send/handled by the
parent GtkScrolledWindow if any.
gtk/gtktextview.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 7e0b43d..80f1475 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -8482,6 +8482,7 @@ text_window_realize (GtkTextWindow *win,
attributes.height = win->allocation.height;
attributes.event_mask = (GDK_EXPOSURE_MASK |
GDK_SCROLL_MASK |
+ GDK_SMOOTH_SCROLL_MASK |
GDK_KEY_PRESS_MASK |
GDK_BUTTON_PRESS_MASK |
GDK_BUTTON_RELEASE_MASK |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]