[gtk+/smooth-scrolling: 14/16] textview: set GDK_SMOOTH_SCROLL_MASK



commit f40e8f1a546daed9779bd0e86f0cfb50a79207fc
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 52a07ae..2384c44 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]