mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Allow resolution to be configured on command line. Default to 1280x1024.
This commit is contained in:
parent
178843456f
commit
c33f18b7df
7 changed files with 31 additions and 9 deletions
|
@ -142,7 +142,8 @@ impl IOCompositor {
|
|||
constellation_chan: ConstellationChan,
|
||||
time_profiler_chan: TimeProfilerChan,
|
||||
memory_profiler_chan: MemoryProfilerChan) -> IOCompositor {
|
||||
let window: Rc<Window> = WindowMethods::new(app, opts.output_file.is_none());
|
||||
let window: Rc<Window> = WindowMethods::new(app, opts.output_file.is_none(),
|
||||
opts.initial_window_size);
|
||||
|
||||
// Create an initial layer tree.
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue