summaryrefslogtreecommitdiff
path: root/navit
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-12-22 06:30:40 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-12-22 06:30:40 +0000
commit8602f366f2f9d2062545d196c9d92fe40ef377cb (patch)
treeccc371443b6539c4e639cc1c68e754a498fd1eb1 /navit
parent7056f717f38cfb2cc3abb5e145f50b270942e71f (diff)
downloadnavit-8602f366f2f9d2062545d196c9d92fe40ef377cb.tar.gz
Fix:Core:Corretly set moved flag
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2887 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit')
-rw-r--r--navit/navit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/navit.c b/navit/navit.c
index 6c686dee1..f06bc6747 100644
--- a/navit/navit.c
+++ b/navit/navit.c
@@ -480,6 +480,7 @@ navit_handle_motion(struct navit *this_, struct point *p)
dx=(p->x-this_->pressed.x);
dy=(p->y-this_->pressed.y);
if (dx < -8 || dx > 8 || dy < -8 || dy > 8) {
+ this_->moved=1;
if (this_->button_timeout) {
event_remove_timeout(this_->button_timeout);
this_->button_timeout=NULL;