[mutter/gbsneto/content: 110/111] wayland-surface: Invalidate contents of updated texture



commit 6e827170fb861b8fab188ef19eba66bd851745a3
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]