mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 07:08:07 +02: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue