shell: don't map surfaces with type NONE

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Ander Conselvan de Oliveira 13 years ago committed by Kristian Høgsberg
parent b63e3e0201
commit a1ff53b31a
  1. 2
      src/shell.c

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

Loading…
Cancel
Save