From f051e05b0a49345d6ef266b722ab43fa4ded4813 Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Fri, 25 Apr 2014 20:36:46 +0200 Subject: [PATCH] meta-wayland-pointer: Transform coordinates relative to the surface_actor Not the window_actor .. --- src/wayland/meta-wayland-pointer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c index 9c4fc18ae..d0c902455 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) {