[metacity] surface: add full damage when opacity changes



commit 69b7654b7d0f70f3be744cc00034e46b7083925e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Oct 22 23:45:34 2019 +0300

    surface: add full damage when opacity changes

 src/compositor/meta-surface.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/compositor/meta-surface.c b/src/compositor/meta-surface.c
index 7235596b..52651a23 100644
--- a/src/compositor/meta-surface.c
+++ b/src/compositor/meta-surface.c
@@ -782,6 +782,7 @@ void
 meta_surface_opacity_changed (MetaSurface *self)
 {
   META_SURFACE_GET_CLASS (self)->opacity_changed (self);
+  add_full_damage (self);
 }
 
 void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]