From 61f00f52fae6f602c2d855eca569e68393951f15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 3 Aug 2012 16:31:36 -0400 Subject: [PATCH] shell: Make sure the black surface is opaque So we don't repaint anything below it. --- src/shell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shell.c b/src/shell.c index 6168a8e0..6c810ff9 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1388,6 +1388,8 @@ create_black_surface(struct weston_compositor *ec, surface->private = fs_surface; weston_surface_configure(surface, x, y, w, h); weston_surface_set_color(surface, 0.0, 0.0, 0.0, 1); + pixman_region32_init_rect(&surface->opaque, 0, 0, w, h); + return surface; }