[mutter/gbsneto/content-part2: 6/7] wayland-surface: Invalidate contents of updated texture



commit 4e4fa1e32707a6e68aea9cabf8f21f7e406b9ed8
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 2d0f05703..99d38dc4b 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -694,6 +694,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]