summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Oertel <johannes.oertel@uni-due.de>2016-05-09 21:58:17 +0200
committerCarlos Soriano <csoriano@gnome.org>2016-05-30 10:33:02 +0200
commite96f73cf1589c023ade74e4aeb16a0c422790161 (patch)
treeef2830586ce3df470ac16e87a7a5aa798456bade
parentab8ce468307c76f5478b8a808634cbc76106cfc0 (diff)
downloadnautilus-e96f73cf1589c023ade74e4aeb16a0c422790161.tar.gz
Do not reset double-click status on pointer movement
This fixes a problem where a double click on an item in Nautilus icon view did not activate the moment when moving the pointer even slightly in between the two clicks. https://bugzilla.gnome.org/show_bug.cgi?id=748501
-rw-r--r--src/nautilus-canvas-container.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-canvas-container.c b/src/nautilus-canvas-container.c
index cf21a2e60..3427a75de 100644
--- a/src/nautilus-canvas-container.c
+++ b/src/nautilus-canvas-container.c
@@ -5403,6 +5403,8 @@ item_event_callback (EelCanvasItem *item,
event_button = &event->button;
switch (event->type) {
+ case GDK_MOTION_NOTIFY:
+ return FALSE;
case GDK_BUTTON_PRESS:
container->details->double_clicked = FALSE;
if (handle_canvas_button_press (container, icon, event_button)) {