summaryrefslogtreecommitdiff
path: root/src/ui/touch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/touch.c')
-rw-r--r--src/ui/touch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/touch.c b/src/ui/touch.c
index e8f53bca..296e0e08 100644
--- a/src/ui/touch.c
+++ b/src/ui/touch.c
@@ -586,6 +586,7 @@ iBool processEvent_Touch(const SDL_Event *ev) {
586// pixels.y, y_F3(amount), y_F3(touch->accum)); 586// pixels.y, y_F3(amount), y_F3(touch->accum));
587 if (pixels.x || pixels.y) { 587 if (pixels.x || pixels.y) {
588 setFocus_Widget(NULL); 588 setFocus_Widget(NULL);
589 setCurrent_Root(touch->affinity->root);
589 dispatchMotion_Touch_(touch->pos[0], 0); 590 dispatchMotion_Touch_(touch->pos[0], 0);
590 dispatchEvent_Widget(touch->affinity, (SDL_Event *) &(SDL_MouseWheelEvent){ 591 dispatchEvent_Widget(touch->affinity, (SDL_Event *) &(SDL_MouseWheelEvent){
591 .type = SDL_MOUSEWHEEL, 592 .type = SDL_MOUSEWHEEL,