Change default back to 800x600 as mac travis builders don't work with 1280x1024

This commit is contained in:
Glenn Watson 2014-09-22 07:42:38 +10:00
parent c33f18b7df
commit c2522ec127
2 changed files with 3 additions and 3 deletions

View file

@ -125,7 +125,7 @@ pub fn from_cmdline_args(args: &[String]) -> Option<Opts> {
getopts::optflag("", "disable-text-aa", "Disable antialiasing for text rendering."),
getopts::optflag("", "trace-layout", "Write layout trace to external file for debugging."),
getopts::optflag("", "devtools", "Start remote devtools server"),
getopts::optopt("", "resolution", "Set window resolution.", "1280x1024"),
getopts::optopt("", "resolution", "Set window resolution.", "800x600"),
getopts::optflag("h", "help", "Print this message")
);
@ -213,7 +213,7 @@ pub fn from_cmdline_args(args: &[String]) -> Option<Opts> {
TypedSize2D(res[0], res[1])
}
None => {
TypedSize2D(1280, 1024)
TypedSize2D(800, 600)
}
};

View file

@ -69,7 +69,7 @@ pub extern "C" fn cef_run_message_loop() {
enable_text_antialiasing: true,
trace_layout: false,
devtools_server: false,
initial_window_size: TypedSize2D(1280, 1024),
initial_window_size: TypedSize2D(800, 600),
};
native::start(0, 0 as *const *const u8, proc() {
servo::run(opts);