forked from AuroraMiddleware/gtk
iconview: 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
2a72e7b7b8
commit
7381a2788b
@ -1284,6 +1284,7 @@ gtk_icon_view_realize (GtkWidget *widget)
|
|||||||
attributes.height = MAX (icon_view->priv->height, allocation.height);
|
attributes.height = MAX (icon_view->priv->height, allocation.height);
|
||||||
attributes.event_mask = (GDK_EXPOSURE_MASK |
|
attributes.event_mask = (GDK_EXPOSURE_MASK |
|
||||||
GDK_SCROLL_MASK |
|
GDK_SCROLL_MASK |
|
||||||
|
GDK_SMOOTH_SCROLL_MASK |
|
||||||
GDK_POINTER_MOTION_MASK |
|
GDK_POINTER_MOTION_MASK |
|
||||||
GDK_BUTTON_PRESS_MASK |
|
GDK_BUTTON_PRESS_MASK |
|
||||||
GDK_BUTTON_RELEASE_MASK |
|
GDK_BUTTON_RELEASE_MASK |
|
||||||
|
Loading…
Reference in New Issue
Block a user