forked from AuroraMiddleware/gtk
layout: set GDK_SMOOTH_SCROLL_MASK
This is so smooth scroll events are send/handled by the parent GtkScrolledWindow if any.
This commit is contained in:
parent
7381a2788b
commit
76462df59f
@ -893,6 +893,7 @@ gtk_layout_realize (GtkWidget *widget)
|
||||
attributes.width = MAX (priv->width, allocation.width);
|
||||
attributes.height = MAX (priv->height, allocation.height);
|
||||
attributes.event_mask = GDK_EXPOSURE_MASK | GDK_SCROLL_MASK |
|
||||
GDK_SMOOTH_SCROLL_MASK |
|
||||
gtk_widget_get_events (widget);
|
||||
|
||||
priv->bin_window = gdk_window_new (window,
|
||||
|
Loading…
Reference in New Issue
Block a user