shell: Set output on the focus_surfaces' view

Otherwise we crash when animating the view.

Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
This commit is contained in:
Emilio Pozuelo Monfort 2013-11-19 11:37:19 +01:00 committed by Kristian Høgsberg
parent 5c22ce652d
commit da64426685

View File

@ -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);