Set default output transform based on DRM panel orientation (#901)
This commit is contained in:
parent
a96394f7a6
commit
15a6425836
6 changed files with 40 additions and 19 deletions
|
|
@ -686,7 +686,7 @@ impl KmsState {
|
|||
startup_done.clone(),
|
||||
)?;
|
||||
if output.mirroring().is_none() {
|
||||
w += output.config().mode_size().w as u32;
|
||||
w += output.config().transformed_size().w as u32;
|
||||
}
|
||||
all_outputs.push(output);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue