meta-wayland-pointer: Transform coordinates relative to the surface_actor
Not the window_actor ..
This commit is contained in:
parent
ca75513880
commit
f051e05b0a
@ -721,8 +721,7 @@ meta_wayland_pointer_get_relative_coordinates (MetaWaylandPointer *pointer,
|
|||||||
|
|
||||||
if (surface->window)
|
if (surface->window)
|
||||||
{
|
{
|
||||||
ClutterActor *actor =
|
ClutterActor *actor = CLUTTER_ACTOR (surface->surface_actor);
|
||||||
CLUTTER_ACTOR (meta_window_get_compositor_private (surface->window));
|
|
||||||
|
|
||||||
if (actor)
|
if (actor)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user