commit | 61f00f52fae6f602c2d855eca569e68393951f15 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Fri Aug 03 16:31:36 2012 -0400 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Fri Aug 03 16:37:01 2012 -0400 |
tree | bda15991f16d33259cbd99f846f375c9dd338f88 | |
parent | 982387011ff5cf654a49c835a86bf0e52675733b [diff] |
shell: Make sure the black surface is opaque So we don't repaint anything below it.
diff --git a/src/shell.c b/src/shell.c index 6168a8e..6c810ff 100644 --- a/src/shell.c +++ b/src/shell.c
@@ -1388,6 +1388,8 @@ 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; }