diff options
-rw-r--r-- | src/ui/touch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/touch.c b/src/ui/touch.c index f3f10fe1..5130149b 100644 --- a/src/ui/touch.c +++ b/src/ui/touch.c | |||
@@ -350,6 +350,7 @@ static void update_TouchState_(void *ptr) { | |||
350 | setCurrent_Root(mom->affinity->root); | 350 | setCurrent_Root(mom->affinity->root); |
351 | dispatchEvent_Widget(mom->affinity, (SDL_Event *) &(SDL_MouseWheelEvent){ | 351 | dispatchEvent_Widget(mom->affinity, (SDL_Event *) &(SDL_MouseWheelEvent){ |
352 | .type = SDL_MOUSEWHEEL, | 352 | .type = SDL_MOUSEWHEEL, |
353 | .which = SDL_TOUCH_MOUSEID, | ||
353 | .timestamp = nowTime, | 354 | .timestamp = nowTime, |
354 | .x = pixels.x, | 355 | .x = pixels.x, |
355 | .y = pixels.y, | 356 | .y = pixels.y, |