From faf55c4627f242ee2ef76d08f9407a46970a4245 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 19 Jun 2014 23:07:54 +0200 Subject: [PATCH] backend-x11: Ensure touch event coordinates are translated to the stage's Now that those events are going to be received, coordinates translation should also happen on those. --- src/backends/x11/meta-backend-x11.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/backends/x11/meta-backend-x11.c b/src/backends/x11/meta-backend-x11.c index 32b174db0..d687c33dd 100644 --- a/src/backends/x11/meta-backend-x11.c +++ b/src/backends/x11/meta-backend-x11.c @@ -117,6 +117,9 @@ maybe_spoof_event_as_stage_event (MetaBackendX11 *x11, case XI_ButtonRelease: case XI_KeyPress: case XI_KeyRelease: + case XI_TouchBegin: + case XI_TouchUpdate: + case XI_TouchEnd: translate_device_event (x11, (XIDeviceEvent *) input_event); break; default: