mirror of
https://github.com/koreader/koreader
synced 2024-11-04 12:00:25 +00:00
841e67e018
slots This ensures we won't leave *any* slot in an undefined state because we skipped parsing 'em because what we consumed first yielded a gesture. (In particular, this could leave a few slots dangling in the "hold" state in corner cases involving spider-hand finger tapping ;p). Cleans up the slot state clearing in GestureDetector to only clear the necessary slots (e.g., two-finger gestures now only clear their own two slots; and holds only clear their own slot). The fact that every slot will be consumed ensures that every slot will naturally get their contact up handled, which wasn't the case before, hence those crappy workarounds. As far as timerfd callbacks are concerned, this *does* introduce the possibility of deadline collisions, so, do reimplement minimal safety checks to ensure we run (and free) the right timerfd callback. |
||
---|---|---|
.. | ||
apps | ||
device | ||
document | ||
ui | ||
cache.lua | ||
cacheitem.lua | ||
configurable.lua | ||
dbg.lua | ||
depgraph.lua | ||
device.lua | ||
dispatcher.lua | ||
docsettings.lua | ||
dump.lua | ||
fontlist.lua | ||
gettext.lua | ||
httpclient.lua | ||
languagesupport.lua | ||
logger.lua | ||
luadata.lua | ||
luasettings.lua | ||
luxl.lua | ||
optmath.lua | ||
persist.lua | ||
pluginloader.lua | ||
pluginshare.lua | ||
random.lua | ||
readcollection.lua | ||
readhistory.lua | ||
socketutil.lua | ||
userpatch.lua | ||
util.lua | ||
version.lua |