kivy/python-for-android — pull request #154 by inclement (2013-09-01 15:46:08+00:00)
Title: Revert "fix touch offest in window mode" (needs testing)

This reverts commit 9eddd5e96382f55a1ed8db8b74979aac91aafd0a.

As per the issue at https://github.com/kivy/python-for-android/issues/153 , the recent commit at https://github.com/kivy/python-for-android/commit/bc4a45c848b95e90557693221a29c60a145fdf4d caused a touch offset bug. However, the bug could also be fixed by reverting the original fix for at https://github.com/kivy/python-for-android/commit/9eddd5e96382f55a1ed8db8b74979aac91aafd0a .

It seems that perhaps the new commit makes the old one redundant by doing the touch offset due to the android status bar somewhere else. That would mean the older fix is now a bug, by repeating the touch offset and making touches be in the wrong place again!

This pull request reverts the original touch fix (now redundant), which seems to resolve the issue. I've tested it successfully, and @denspb confirms at https://github.com/kivy/python-for-android/commit/bc4a45c848b95e90557693221a29c60a145fdf4d . However, I don't fully understand what's going on behind the scenes, so this PR probably needs confirmation and/or testing by someone familiar with what's really going on.