[mutter] meta-wayland-pointer: Transform coordinates relative to the surface_actor



commit f051e05b0a49345d6ef266b722ab43fa4ded4813
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Fri Apr 25 20:36:46 2014 +0200

    meta-wayland-pointer: Transform coordinates relative to the surface_actor
    
    Not the window_actor ..

 src/wayland/meta-wayland-pointer.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c
index 9c4fc18..d0c9024 100644
--- a/src/wayland/meta-wayland-pointer.c
+++ b/src/wayland/meta-wayland-pointer.c
@@ -721,8 +721,7 @@ meta_wayland_pointer_get_relative_coordinates (MetaWaylandPointer *pointer,
 
   if (surface->window)
     {
-      ClutterActor *actor =
-        CLUTTER_ACTOR (meta_window_get_compositor_private (surface->window));
+      ClutterActor *actor = CLUTTER_ACTOR (surface->surface_actor);
 
       if (actor)
         {


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