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.
This commit is contained in:
Ander Conselvan de Oliveira
2012-02-23 13:29:25 +02:00
committed by Kristian Høgsberg
parent 06d58b74af
commit ba727bd1d9
+1
View File
@@ -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 */