shell: Reset active view to allow further activation
[src/agl-compositor.git] / src / compositor.c
index 6cb822b..827ef7a 100644 (file)
@@ -1730,6 +1730,7 @@ int wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_da
        wl_list_init(&ivi.remote_pending_apps);
        wl_list_init(&ivi.desktop_clients);
        wl_list_init(&ivi.child_process_list);
+       wl_list_init(&ivi.pending_apps);
 
        /* Prevent any clients we spawn getting our stdin */
        os_fd_set_cloexec(STDIN_FILENO);
@@ -1862,7 +1863,7 @@ int wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_da
 
                weston_log("Printing available debug scopes:\n");
 
-               while ((nscope = weston_log_scopes_iterate(ivi.compositor, nscope))) {
+               while ((nscope = weston_log_scopes_iterate(log_ctx, nscope))) {
                        weston_log("\tscope name: %s, desc: %s",
                                        weston_log_scope_get_name(nscope),
                                        weston_log_scope_get_description(nscope));