diff options
author | Johannes Oertel <johannes.oertel@uni-due.de> | 2016-05-09 21:58:17 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-05-30 10:37:41 +0200 |
commit | 5689f36e82728447a78beaca67576bbd633666bf (patch) | |
tree | eb157aa63ff685664829c61ac0d35040b633972d | |
parent | 2519c49f945aa46dc996ddca6b07851a35363b59 (diff) | |
download | nautilus-5689f36e82728447a78beaca67576bbd633666bf.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-- | libnautilus-private/nautilus-canvas-container.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-canvas-container.c b/libnautilus-private/nautilus-canvas-container.c index a562ac080..e02f886c4 100644 --- a/libnautilus-private/nautilus-canvas-container.c +++ b/libnautilus-private/nautilus-canvas-container.c @@ -5400,6 +5400,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)) { |