shell: Mark geometry dirty when we change surface alpha

We need to recompute the opaque region when the alpha changes.
dev
Kristian Høgsberg 13 years ago
parent 3b4af20100
commit cacb7cd0f6
  1. 1
      src/shell.c

@ -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:

Loading…
Cancel
Save