Make the black surfaces semitransparent when switching surface, and
if associated fullscreen surface is chosen, make black surface opaque.
default:
break;
}
+
+ if (is_black_surface(surface, NULL)) {
+ surface->alpha = 64;
+ surface->geometry.dirty = 1;
+ weston_surface_damage(surface);
+ }
}
if (next == NULL)
switcher->current = next;
next->alpha = 255;
+
+ if (get_shell_surface_type(switcher->current) == SHELL_SURFACE_FULLSCREEN)
+ get_shell_surface(switcher->current)->fullscreen.black_surface->alpha = 255;
}
static void