layouts: Change type based on shape

This commit is contained in:
Dorota Czaplejewicz
2019-10-15 15:42:24 +00:00
parent 264d30d884
commit 1b1fbed7de
9 changed files with 116 additions and 49 deletions

View File

@ -210,7 +210,7 @@ pub mod c {
match output_state {
Some(OutputState {
current_mode: Some(super::Mode { width, height: _ } ),
scale: scale,
scale,
}) => width / scale,
_ => {
eprintln!("No width registered on output");