[gnome-flashback] desktop: ignore double click if control is pressed



commit dea564830f9e5baa97cc6e6ce8f1ab7019726ef5
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon Nov 11 21:25:08 2019 +0200

    desktop: ignore double click if control is pressed

 gnome-flashback/libdesktop/gf-icon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-flashback/libdesktop/gf-icon.c b/gnome-flashback/libdesktop/gf-icon.c
index 1239da7..f0eddfd 100644
--- a/gnome-flashback/libdesktop/gf-icon.c
+++ b/gnome-flashback/libdesktop/gf-icon.c
@@ -150,7 +150,7 @@ multi_press_pressed_cb (GtkGestureMultiPress *gesture,
 
       gf_icon_set_selected (self, selected, flags);
 
-      if (n_press == 2)
+      if (!control_pressed && n_press == 2)
         icon_open (self);
     }
   else if (button == GDK_BUTTON_SECONDARY)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]