diff --git a/src/wayland/meta-wayland-actor-surface.c b/src/wayland/meta-wayland-actor-surface.c index cdcc6b1ca..13f13bcf6 100644 --- a/src/wayland/meta-wayland-actor-surface.c +++ b/src/wayland/meta-wayland-actor-surface.c @@ -292,6 +292,9 @@ meta_wayland_actor_surface_is_on_logical_monitor (MetaWaylandSurfaceRole *surfac MetaRectangle logical_monitor_layout; gboolean is_on_monitor; + if (!clutter_actor_is_mapped (actor)) + return FALSE; + clutter_actor_get_transformed_position (actor, &x, &y); clutter_actor_get_transformed_size (actor, &width, &height);