elput: Fix issue where double/triple click was not working
authorChris Michael <cpmichael@osg.samsung.com>
Thu, 26 May 2016 15:35:42 +0000 (11:35 -0400)
committerChris Michael <cpmichael@osg.samsung.com>
Thu, 26 May 2016 15:35:42 +0000 (11:35 -0400)
As we use the mouse threshold for determining double/triple clicking,
it would probably be a good idea if that threshold had a value

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
src/lib/elput/elput_evdev.c

index 7281532..cb70c63 100644 (file)
@@ -524,6 +524,7 @@ _pointer_create(Elput_Seat *seat)
    if (!ptr) return NULL;
 
    ptr->seat = seat;
+   ptr->mouse.threshold = 250;
 
    return ptr;
 }