diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-07-21 11:09:16 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-07-21 12:28:01 +0200 |
commit | 876fda4f55cf583813041df7471ceb3ae2e0e23e (patch) | |
tree | 387cfcb44d05edf70447aa7a4857ddf6d65faafa /fiv-view.c | |
parent | 60b2395940b2e4fa0d8a62c17d51ca286e445b09 (diff) | |
download | fiv-876fda4f55cf583813041df7471ceb3ae2e0e23e.tar.gz fiv-876fda4f55cf583813041df7471ceb3ae2e0e23e.tar.xz fiv-876fda4f55cf583813041df7471ceb3ae2e0e23e.zip |
Handle the long press gesture on browser items
Unfortunately, this doesn't work on X11, though Wayland seems fine.
Diffstat (limited to 'fiv-view.c')
-rw-r--r-- | fiv-view.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1394,10 +1394,10 @@ fiv_view_init(FivView *self) self->scale = 1.0; GtkGesture *drag = gtk_gesture_drag_new(GTK_WIDGET(self)); - g_object_set_data_full( - G_OBJECT(self), "fiv-view-drag-gesture", drag, g_object_unref); gtk_event_controller_set_propagation_phase( GTK_EVENT_CONTROLLER(drag), GTK_PHASE_BUBBLE); + g_object_set_data_full( + G_OBJECT(self), "fiv-view-drag-gesture", drag, g_object_unref); // GtkScrolledWindow's internal GtkGestureDrag is set to only look for // touch events (and its "event_controllers" are perfectly private, |