aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/util/opts.rs4
-rw-r--r--ports/cef/core.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/components/util/opts.rs b/components/util/opts.rs
index a37f453a51f..f243a3a7b00 100644
--- a/components/util/opts.rs
+++ b/components/util/opts.rs
@@ -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)
}
};
diff --git a/ports/cef/core.rs b/ports/cef/core.rs
index 6ce9a1e3e9a..41f85f79110 100644
--- a/ports/cef/core.rs
+++ b/ports/cef/core.rs
@@ -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);