[gthumb/gthumb-3-4] 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/gthumb-3-4] grid view: activate smooth scrolling to get the overshoot effect
- Date: Tue, 4 Jul 2017 16:20:06 +0000 (UTC)
commit 8b1c65e2a07c4c8eb14a55777bfcffb30cf7f6ab
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 f110918..ba5846a 100644
--- a/gthumb/gth-grid-view.c
+++ b/gthumb/gth-grid-view.c
@@ -1042,6 +1042,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]