[mutter/gbsneto/content-part2: 634/635] wayland-surface: Invalidate contents of updated texture
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/content-part2: 634/635] wayland-surface: Invalidate contents of updated texture
- Date: Tue, 16 Jul 2019 16:43:32 +0000 (UTC)
commit 8d77fb4253f41231871baa1eb39a9b7517954ddb
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Dec 28 00:02:01 2018 -0200
wayland-surface: Invalidate contents of updated texture
WIP
src/wayland/meta-wayland-surface.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 787265f33..5234f1374 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -733,6 +733,7 @@ meta_wayland_surface_apply_pending_state (MetaWaylandSurface *surface,
meta_shaped_texture_set_texture (stex, texture);
meta_shaped_texture_set_snippet (stex, snippet);
meta_shaped_texture_set_is_y_inverted (stex, is_y_inverted);
+ clutter_content_invalidate (CLUTTER_CONTENT (stex));
g_clear_pointer (&snippet, cogl_object_unref);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]