diff --git a/src/desktop/space/mod.rs b/src/desktop/space/mod.rs index 4734d14..08b5b3e 100644 --- a/src/desktop/space/mod.rs +++ b/src/desktop/space/mod.rs @@ -215,11 +215,16 @@ impl Space { return None; } + let transform: Transform = o.current_transform().into(); let state = output_state(self.id, o); o.current_mode().map(|mode| { Rectangle::from_loc_and_size( state.location, - mode.size.to_f64().to_logical(state.render_scale).to_i32_round(), + transform + .transform_size(mode.size) + .to_f64() + .to_logical(state.render_scale) + .to_i32_round(), ) }) }