[nautilus] Do not reset double-click status on pointer movement
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Do not reset double-click status on pointer movement
- Date: Mon, 30 May 2016 08:33:27 +0000 (UTC)
commit e96f73cf1589c023ade74e4aeb16a0c422790161
Author: Johannes Oertel <johannes oertel uni-due de>
Date: Mon May 9 21:58:17 2016 +0200
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
src/nautilus-canvas-container.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-canvas-container.c b/src/nautilus-canvas-container.c
index cf21a2e..3427a75 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)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]