diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-06-19 23:07:54 +0200 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-07-07 19:17:03 -0400 |
commit | faf55c4627f242ee2ef76d08f9407a46970a4245 (patch) | |
tree | b1ffc5d6ecebd65d60d1c25aa920479addad79fd /src/backends/x11 | |
parent | f351c5d304194d67595ab0b9fa84674facbf752d (diff) | |
download | mutter-faf55c4627f242ee2ef76d08f9407a46970a4245.tar.gz |
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.
Diffstat (limited to 'src/backends/x11')
-rw-r--r-- | src/backends/x11/meta-backend-x11.c | 3 |
1 files changed, 3 insertions, 0 deletions
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: |