mirror of
https://github.com/brl/mutter.git
synced 2025-08-04 23:54:40 +00:00
wayland-surface: Invalidate contents of updated texture
WIP https://gitlab.gnome.org/GNOME/mutter/merge_requests/861
This commit is contained in:
@@ -293,7 +293,7 @@ meta_window_content_dispose (GObject *object)
|
|||||||
{
|
{
|
||||||
MetaWindowContent *window_content = META_WINDOW_CONTENT (object);
|
MetaWindowContent *window_content = META_WINDOW_CONTENT (object);
|
||||||
|
|
||||||
set_surface_invalidate_func (window_content, surface_actor, NULL);
|
set_surface_invalidate_func (window_content, NULL);
|
||||||
|
|
||||||
G_OBJECT_CLASS (meta_window_content_parent_class)->dispose (object);
|
G_OBJECT_CLASS (meta_window_content_parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
|
@@ -726,6 +726,7 @@ meta_wayland_surface_apply_pending_state (MetaWaylandSurface *surface,
|
|||||||
meta_shaped_texture_set_texture (stex, texture);
|
meta_shaped_texture_set_texture (stex, texture);
|
||||||
meta_shaped_texture_set_snippet (stex, snippet);
|
meta_shaped_texture_set_snippet (stex, snippet);
|
||||||
meta_shaped_texture_set_is_y_inverted (stex, is_y_inverted);
|
meta_shaped_texture_set_is_y_inverted (stex, is_y_inverted);
|
||||||
|
clutter_content_invalidate (CLUTTER_CONTENT (stex));
|
||||||
g_clear_pointer (&snippet, cogl_object_unref);
|
g_clear_pointer (&snippet, cogl_object_unref);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user