aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTarek Soliman2017-10-19 00:55:58 -0500
committerTarek Soliman2017-10-19 17:51:01 -0500
commit2fea095fc7202a6707c6f5499565f125927ae544 (patch)
treeef58780d2f7937cb9407080b81bb5e65487b3efd /engines
parent0e44feadb0ed5a39ab3926d837d1d388f931426f (diff)
downloadscummvm-rg350-2fea095fc7202a6707c6f5499565f125927ae544.tar.gz
scummvm-rg350-2fea095fc7202a6707c6f5499565f125927ae544.tar.bz2
scummvm-rg350-2fea095fc7202a6707c6f5499565f125927ae544.zip
SDL: Fix SDL1 cursor position when using a touchscreen
I noticed that in Maemo the cursor was offset after the SDL refactoring in de2bbe3b9738ef95b2529db989570770ef434f9d In Maemo when entering fullscreen, ScummVM receives a SDL_VIDEORESIZE event with the native touchscreen resolution rather than the current window size. This causes a call to notifyResize. Before that refactoring, notifyResize did nothing (in SDL1). Now it calls handleResize but doesn't actually set a new video mode. This messes up the coordinate mapping, causing an overcorrection for the cursor position.
Diffstat (limited to 'engines')
0 files changed, 0 insertions, 0 deletions