This makes the desktop background actually draw when there is
a fullscreen surface and we go to exposay.
if (shell->exposay.focus_current == esurface->view)
highlight = esurface;
+ set_alpha_if_fullscreen(get_shell_surface(view->surface));
+
exposay_animate_in(esurface);
i++;
} popup_grab;
};
+void
+set_alpha_if_fullscreen(struct shell_surface *shsurf)
+{
+ if (shsurf && shsurf->state.fullscreen)
+ shsurf->fullscreen.black_view->alpha = 0.25;
+}
+
static struct desktop_shell *
shell_surface_get_shell(struct shell_surface *shsurf);
char *client;
};
+void
+set_alpha_if_fullscreen(struct shell_surface *shsurf);
+
struct weston_output *
get_default_output(struct weston_compositor *compositor);