X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fshell.c;h=1aabb5ade62d36febdb94d70b25635e544105717;hb=8033c46081b93f19843d140e58b527af7abf7a4f;hp=2f8a7224644fdfe07a56ce083852e356789c073a;hpb=0ed8064b0de235fa21fb961f0a8789e11ad7f1a4;p=src%2Fagl-compositor.git diff --git a/src/shell.c b/src/shell.c index 2f8a722..1aabb5a 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1795,18 +1795,20 @@ unbind_agl_shell(struct wl_resource *resource) } wl_list_for_each(output, &ivi->outputs, link) { - struct weston_geometry area = {}; /* reset the active surf if there's one present */ if (output->active) { + struct weston_geometry area = {}; + output->active->view->is_mapped = false; output->active->view->surface->is_mapped = false; weston_layer_entry_remove(&output->active->view->layer_link); output->active = NULL; + + output->area_activation = area; } - output->area_activation = area; insert_black_curtain(output); }