mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
wayland: Respond to frame callbacks also if a clone was painted
This will mean that a surface on one monitor, with e.g. a preview on another, will still get frame callbacks if the preview is painted, but itself being hidden. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1285
This commit is contained in:
parent
2f4d50c723
commit
1ecdaa646f
@ -210,7 +210,6 @@ on_after_update (ClutterStage *stage,
|
|||||||
GList *l_cur = l;
|
GList *l_cur = l;
|
||||||
MetaWaylandSurface *surface = l->data;
|
MetaWaylandSurface *surface = l->data;
|
||||||
MetaSurfaceActor *actor;
|
MetaSurfaceActor *actor;
|
||||||
GList *stage_views;
|
|
||||||
MetaWaylandActorSurface *actor_surface;
|
MetaWaylandActorSurface *actor_surface;
|
||||||
|
|
||||||
l = l->next;
|
l = l->next;
|
||||||
@ -223,8 +222,8 @@ on_after_update (ClutterStage *stage,
|
|||||||
meta_surface_actor_is_obscured (actor))
|
meta_surface_actor_is_obscured (actor))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
stage_views = clutter_actor_peek_stage_views (CLUTTER_ACTOR (actor));
|
if (!clutter_actor_is_effectively_on_stage_view (CLUTTER_ACTOR (actor),
|
||||||
if (!g_list_find (stage_views, stage_view))
|
stage_view))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
actor_surface = META_WAYLAND_ACTOR_SURFACE (surface->role);
|
actor_surface = META_WAYLAND_ACTOR_SURFACE (surface->role);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user