char *path;
int duration;
struct wl_resource *binding;
- struct wl_list surfaces;
struct weston_process process;
} screensaver;
static void
resume_desktop(struct desktop_shell *shell)
{
- struct weston_surface *surface;
struct workspace *ws = get_current_workspace(shell);
- wl_list_for_each(surface, &shell->screensaver.surfaces, link)
- weston_surface_unmap(surface);
-
terminate_screensaver(shell);
wl_list_remove(&shell->lock_layer.link);
{
struct desktop_shell *shell = surface->private;
+ /* XXX: starting weston-screensaver beforehand does not work */
if (!shell->locked)
return;
ec->shell_interface.move = surface_move;
ec->shell_interface.resize = surface_resize;
- wl_list_init(&shell->screensaver.surfaces);
wl_list_init(&shell->input_panel.surfaces);
weston_layer_init(&shell->fullscreen_layer, &ec->cursor_layer.link);