shell: Fix fullscreen window size on fractional scaled outputs
This commit is contained in:
parent
c567448fc8
commit
85d47d1903
1 changed files with 3 additions and 1 deletions
|
|
@ -214,7 +214,9 @@ impl Workspace {
|
|||
.current_mode()
|
||||
.map(|m| m.size)
|
||||
.unwrap_or((0, 0).into())
|
||||
.to_logical(output.current_scale().integer_scale()),
|
||||
.to_f64()
|
||||
.to_logical(output.current_scale().fractional_scale())
|
||||
.to_i32_round(),
|
||||
);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue