diff options
Diffstat (limited to 'src/sna/sna_display.c')
-rw-r--r-- | src/sna/sna_display.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index 470db869..46fc22c8 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -3306,10 +3306,7 @@ static void copy_front(struct sna *sna, PixmapPtr old, PixmapPtr new) } } - if (!DAMAGE_IS_ALL(new_priv->gpu_damage)) - sna_damage_all(&new_priv->gpu_damage, - new->drawable.width, - new->drawable.height); + sna_damage_all(&new_priv->gpu_damage, new); } static Bool |