[gnome-control-center] wacom: Forgive inconspicuous double clicks when calibrating



commit e97143e0258193e7a672820eeab87f47eefeeeb3
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Nov 29 17:08:13 2013 +0100

    wacom: Forgive inconspicuous double clicks when calibrating
    
    Those were likely not meant, and will surely make you start over
    again on the calibration process.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=719705

 panels/wacom/calibrator/calibrator-gui.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/panels/wacom/calibrator/calibrator-gui.c b/panels/wacom/calibrator/calibrator-gui.c
index 898fd38..e67795b 100644
--- a/panels/wacom/calibrator/calibrator-gui.c
+++ b/panels/wacom/calibrator/calibrator-gui.c
@@ -301,6 +301,9 @@ on_button_press_event(ClutterActor       *actor,
   if (area->success)
     return FALSE;
 
+  if (event->click_count > 1)
+    return FALSE;
+
   /* Check matching device ID if a device ID was provided */
   if (area->device_id > -1)
     {


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