Otherwise we crash when animating the view.

Signed-off-by: Emilio Pozuelo Monfort <[email protected]>
---
 src/shell.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/shell.c b/src/shell.c
index 08d2627..fd158eb 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);
-- 
1.8.4.rc3

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to