[gtk+/smooth-scrolling-for-3.4: 14/20] textview: set GDK_SMOOTH_SCROLL_MASK
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/smooth-scrolling-for-3.4: 14/20] textview: set GDK_SMOOTH_SCROLL_MASK
- Date: Thu, 23 Feb 2012 13:50:22 +0000 (UTC)
commit 21d223bc397133c75e06083dc0c4a7d26ea1a656
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 9f78746..f0451d6 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -8451,6 +8451,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]