mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-22 03:04:13 +00:00
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:
parent
5c22ce652d
commit
da64426685
|
@ -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…
Reference in a new issue