shell: don't map surfaces with type NONE

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
This commit is contained in:
Ander Conselvan de Oliveira 2012-02-15 17:02:54 +02:00 committed by Kristian Høgsberg
parent b63e3e0201
commit a1ff53b31a

View File

@ -1421,6 +1421,8 @@ map(struct weston_shell *base,
}
do_configure = 0;
break;
case SHELL_SURFACE_NONE:
break;
default:
/* everything else just below the panel */
if (!wl_list_empty(&shell->panels)) {