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>
dev
Emilio Pozuelo Monfort 11 years ago committed by Kristian Høgsberg
parent 5c22ce652d
commit da64426685
  1. 1
      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);

Loading…
Cancel
Save