[PATCH 2/4] shell: don't assign output for surface of type none

Ander Conselvan de Oliveira conselvan2 at gmail.com
Thu Feb 23 03:42:48 PST 2012


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 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/shell.c b/src/shell.c
index 3d5dfd9..8628462 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 */
-- 
1.7.5.4



More information about the wayland-devel mailing list