aboutsummaryrefslogtreecommitdiff
path: root/src/MTools/Comp/MMover.pm
diff options
context:
space:
mode:
authorbouyssou2008-09-10 11:35:10 +0000
committerbouyssou2008-09-10 11:35:10 +0000
commit84ac02a52d8eb2f5ab12815091e5590c3504fee3 (patch)
treea302304bccce8e6841a9577b5c778aaaa69a69ac /src/MTools/Comp/MMover.pm
parent3c98f0da26adb393f998be819600d8238f53456c (diff)
downloadmtc-84ac02a52d8eb2f5ab12815091e5590c3504fee3.zip
mtc-84ac02a52d8eb2f5ab12815091e5590c3504fee3.tar.gz
mtc-84ac02a52d8eb2f5ab12815091e5590c3504fee3.tar.bz2
mtc-84ac02a52d8eb2f5ab12815091e5590c3504fee3.tar.xz
Suppression de l'evt MOVED_OUT_OF_BOUNDS
Diffstat (limited to 'src/MTools/Comp/MMover.pm')
-rw-r--r--src/MTools/Comp/MMover.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/MTools/Comp/MMover.pm b/src/MTools/Comp/MMover.pm
index a2a5b9c..56eb531 100644
--- a/src/MTools/Comp/MMover.pm
+++ b/src/MTools/Comp/MMover.pm
@@ -66,8 +66,6 @@ sub new {
$self -> recordEvent ('PRESSED_OFF');
$self -> recordEvent ('MOVED_OFF');
$self -> recordEvent ('RELEASED_OFF');
- $self -> recordEvent ('MOVED_OUT_OF_BOUNDS');
-
$button = 1 if ! defined $button;
binding ($src, "<Button-$button>", [\&__pressed, $self, Ev('x'), Ev('y'), Ev('t')]);
@@ -172,7 +170,6 @@ sub __moved {
}
if( $dx == 0 && $dy == 0 )
{
- $self -> notify ('MOVED_OUT_OF_BOUNDS', $x, $y, $t);
return;
}
my $allower = $self -> mget ('allower');
@@ -185,7 +182,6 @@ sub __moved {
$dy -= $ddy;
if( $dx == 0 && $dy == 0 )
{
- $self -> notify ('MOVED_OUT_OF_BOUNDS', $x, $y, $t);
return;
}
}