shell: Store the ivi compositor in the desktop_client
[src/agl-compositor.git] / src / main.c
index 09c4036..df97b24 100644 (file)
@@ -1147,6 +1147,7 @@ int main(int argc, char *argv[])
        wl_list_init(&ivi.outputs);
        wl_list_init(&ivi.surfaces);
        wl_list_init(&ivi.pending_surfaces);
+       wl_list_init(&ivi.popup_pending_apps);
        wl_list_init(&ivi.desktop_clients);
 
        /* Prevent any clients we spawn getting our stdin */
@@ -1170,7 +1171,7 @@ int main(int argc, char *argv[])
 
         log_scope = weston_compositor_add_log_scope(log_ctx, "log",
                                                    "agl-compositor log\n",
-                                                   NULL, NULL);
+                                                   NULL, NULL, NULL);
 
        log_file_open(log);
        weston_log_set_handler(vlog, vlog_continue);