X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fmain.c;h=df97b2482dd4256581d8c81ecc32b7eb07aaa9cf;hb=refs%2Fchanges%2F05%2F24405%2F3;hp=2b12a7b4c2d285ca88a0b44ec2c25d010181a4ac;hpb=58a3fe5c2923499160b270c7ef18a8004ee2f537;p=src%2Fagl-compositor.git diff --git a/src/main.c b/src/main.c index 2b12a7b..df97b24 100644 --- a/src/main.c +++ b/src/main.c @@ -541,7 +541,7 @@ load_drm_backend(struct ivi_compositor *ivi, int *argc, char *argv[]) struct weston_config_section *section; int use_current_mode = 0; int use_pixman = 0; - int use_shadow; + bool use_shadow; int ret; const struct weston_option options[] = { @@ -587,7 +587,7 @@ windowed_parse_common_options(struct ivi_compositor *ivi, int *argc, char *argv[ bool *use_pixman, bool *fullscreen, int *output_count) { struct weston_config_section *section; - int pixman; + bool pixman; int fs = 0; const struct weston_option options[] = { @@ -798,8 +798,8 @@ compositor_init_config(struct weston_compositor *compositor, struct xkb_rule_names xkb_names; struct weston_config_section *section; int repaint_msec; - int vt_switching; - int require_input; + bool vt_switching; + bool require_input; /* agl-compositor.ini [keyboard] */ section = weston_config_get_section(config, "keyboard", NULL, NULL); @@ -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);