shell: Mark geometry dirty when we change surface alpha

We need to recompute the opaque region when the alpha changes.
This commit is contained in:
Kristian Høgsberg 2012-02-28 09:20:21 -05:00
parent 3b4af20100
commit cacb7cd0f6

View File

@ -1747,6 +1747,7 @@ switcher_next(struct switcher *switcher)
next = surface; next = surface;
prev = surface; prev = surface;
surface->alpha = 64; surface->alpha = 64;
surface->geometry.dirty = 1;
weston_surface_damage(surface); weston_surface_damage(surface);
break; break;
default: default: