diff -pur dillo/src/dillo.c dillo-fullwindow/src/dillo.c --- dillo/src/dillo.c Wed Aug 14 11:36:10 2002 +++ dillo-fullwindow/src/dillo.c Wed Aug 14 11:42:29 2002 @@ -61,6 +61,7 @@ typedef struct { } DilloCLIOptions; enum { + DILLO_CLI_FULLWINDOW = 1 << 1, DILLO_CLI_HELP = 1 << 29, DILLO_CLI_VERSION = 1 << 30, DILLO_CLI_ERROR = 1 << 31 @@ -90,6 +91,8 @@ gint main(int argc, char *argv[]) gint i; char **opt_argv = NULL; DilloCLIOptions dillo_options[] = { + {"-f", "--fullwindow", 0, DILLO_CLI_FULLWINDOW, + " -f, --fullwindow Start in full window mode."}, {"-v", "--version", 0, DILLO_CLI_VERSION, " -v, --version Display version info and exit."}, {"-h", "--help", 0, DILLO_CLI_HELP, @@ -122,6 +125,8 @@ gint main(int argc, char *argv[]) Dillo_print_help(dillo_options); return 0; break; + case DILLO_CLI_FULLWINDOW: + break; default: printf("Error in command line options.\n"); return -1; @@ -154,6 +159,9 @@ gint main(int argc, char *argv[]) * initialized with the new browser_window structure */ bw = a_Interface_browser_window_new(prefs.width, prefs.height); + if (cli_options & DILLO_CLI_FULLWINDOW) + a_Interface_toggle_panel(bw); + a_Bookmarks_init(); /* Send dillo startup screen */