[gthumb] grid view: activate smooth scrolling to get the overshoot effect
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] grid view: activate smooth scrolling to get the overshoot effect
- Date: Tue, 4 Jul 2017 16:00:30 +0000 (UTC)
commit a92d3cb10a51f94786356563d1fe510126714b90
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Jul 1 19:28:32 2017 +0200
grid view: activate smooth scrolling to get the overshoot effect
gthumb/gth-grid-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-grid-view.c b/gthumb/gth-grid-view.c
index 800acb5..828afa1 100644
--- a/gthumb/gth-grid-view.c
+++ b/gthumb/gth-grid-view.c
@@ -1043,6 +1043,7 @@ gth_grid_view_realize (GtkWidget *widget)
attributes.height = MAX (self->priv->height, allocation.height);
attributes.event_mask = (GDK_EXPOSURE_MASK
| GDK_SCROLL_MASK
+ | GDK_SMOOTH_SCROLL_MASK
| GDK_POINTER_MOTION_MASK
| GDK_ENTER_NOTIFY_MASK
| GDK_LEAVE_NOTIFY_MASK
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]