From da644266856c174ee1dea355988b5a56dfd21c61 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Tue, 19 Nov 2013 11:37:19 +0100 Subject: [PATCH] shell: Set output on the focus_surfaces' view Otherwise we crash when animating the view. Signed-off-by: Emilio Pozuelo Monfort --- src/shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shell.c b/src/shell.c index 09ff86cf..bf5c704b 100644 --- a/src/shell.c +++ b/src/shell.c @@ -615,6 +615,7 @@ create_focus_surface(struct weston_compositor *ec, surface->configure_private = fsurf; fsurf->view = weston_view_create (surface); + fsurf->view->output = output; weston_view_configure(fsurf->view, output->x, output->y, output->width, output->height);