[mutter/wip/gestures: 9/16] backend: Ensure touch event coordinates are translated to the stage's



commit 6a02d7dfa36dda999c68c5f646331f610b16c6c2
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Jun 19 23:07:54 2014 +0200

    backend: 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 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 32b174d..d687c33 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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]