[PATCH 9/9] shell: Set output on the focus_surfaces' view

Emilio Pozuelo Monfort pochu27 at gmail.com
Tue Nov 19 02:37:19 PST 2013


Otherwise we crash when animating the view.

Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo at collabora.co.uk>
---
 src/shell.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/shell.c b/src/shell.c
index 09ff86c..bf5c704 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



More information about the wayland-devel mailing list