From ba727bd1d928e8e2da7ded5d68d0d1501322f152 Mon Sep 17 00:00:00 2001 From: Ander Conselvan de Oliveira Date: Thu, 23 Feb 2012 13:29:25 +0200 Subject: [PATCH] shell: don't assign output for surface of type none If map is called with a surface of type none it will call weston_surface_assign_output, even though the surface will not be mapped. --- src/shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shell.c b/src/shell.c index 3d5dfd90..86284627 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1427,6 +1427,7 @@ map(struct weston_shell *base, struct weston_surface *surface, do_configure = 0; break; case SHELL_SURFACE_NONE: + do_configure = 0; break; default: /* everything else just below the panel */