summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libjvm-android.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libjvm-android.c b/src/libjvm-android.c
index e0ff8e7..b56eb3b 100644
--- a/src/libjvm-android.c
+++ b/src/libjvm-android.c
@@ -186,7 +186,8 @@ jfloat
android_view_MotionEvent_getY(JNIEnv *env, jobject object, va_list args)
{
assert(env && object);
- return 700;
+ static int y;
+ return y = (y + 8) % 768;
}
jint