From 423d18d3875ca9d0f30258337d0a3717368165b6 Mon Sep 17 00:00:00 2001 From: merlin Date: Tue, 27 Nov 2007 10:00:02 +0000 Subject: Envoi d'un message PRESSED lors d'une pression sur la source si -visible=>0 (toujours START_GESTURE_RECO si -visible=>1) --- src/MTools/Comp/MReconizer.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/MTools/Comp/MReconizer.pm b/src/MTools/Comp/MReconizer.pm index bb59bae..99f7f2b 100644 --- a/src/MTools/Comp/MReconizer.pm +++ b/src/MTools/Comp/MReconizer.pm @@ -118,6 +118,9 @@ sub __pressed { } $self -> notify ('START_GESTURE_RECO', $x, $y); } + else { + $self -> notify ('PRESSED', $x, $y); + } } sub __moved { -- cgit v1.1