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.
Ander Conselvan de Oliveira 13 years ago committed by Kristian Høgsberg
parent 06d58b74af
commit ba727bd1d9
  1. 1
      src/shell.c

@ -1427,6 +1427,7 @@ map(struct weston_shell *base, struct weston_surface *surface,
do_configure = 0; do_configure = 0;
break; break;
case SHELL_SURFACE_NONE: case SHELL_SURFACE_NONE:
do_configure = 0;
break; break;
default: default:
/* everything else just below the panel */ /* everything else just below the panel */

Loading…
Cancel
Save