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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/touch.c b/src/ui/touch.c
index e49fce2a..b2c52526 100644
--- a/src/ui/touch.c
+++ b/src/ui/touch.c
@@ -233,7 +233,8 @@ static void dispatchNotification_Touch_(const iTouch *d, int code) {
233 .type = SDL_USEREVENT, 233 .type = SDL_USEREVENT,
234 .timestamp = SDL_GetTicks(), 234 .timestamp = SDL_GetTicks(),
235 .code = code, 235 .code = code,
236 .data1 = d->affinity 236 .data1 = d->affinity,
237 .data2 = d->affinity->root
237 }); 238 });
238 setCurrent_Root(oldRoot); 239 setCurrent_Root(oldRoot);
239 } 240 }