summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libview/ev-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 02860a88..91d14cbf 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -4808,6 +4808,7 @@ ev_view_motion_notify_event (GtkWidget *widget,
event->y);
view->selection_info.in_drag = FALSE;
+ view->pressed_button = -1;
gtk_target_list_unref (target_list);
@@ -4830,6 +4831,7 @@ ev_view_motion_notify_event (GtkWidget *widget,
event->y);
view->image_dnd_info.in_drag = FALSE;
+ view->pressed_button = -1;
gtk_target_list_unref (target_list);