diff --git a/src/shell/workspace.rs b/src/shell/workspace.rs index c4015e47..e5317c2c 100644 --- a/src/shell/workspace.rs +++ b/src/shell/workspace.rs @@ -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(), ); });