meta-wayland-pointer: Transform coordinates relative to the surface_actor

Not the window_actor ..
This commit is contained in:
Adel Gadllah 2014-04-25 20:36:46 +02:00
parent ca75513880
commit f051e05b0a

View File

@ -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)
{