debug: Fixup feature compilation
This commit is contained in:
parent
6be5009b37
commit
3926aee5b6
3 changed files with 10 additions and 2 deletions
|
|
@ -656,8 +656,11 @@ impl CosmicMapped {
|
|||
let mut elements = if let Some(debug) = self.debug.lock().unwrap().as_mut() {
|
||||
let window = self.active_window();
|
||||
let window_geo = window.geometry();
|
||||
let (min_size, max_size, size) =
|
||||
(window.min_size(), window.max_size(), window.geometry().size);
|
||||
let (min_size, max_size, size) = (
|
||||
window.min_size_without_ssd(),
|
||||
window.max_size_without_ssd(),
|
||||
window.geometry().size,
|
||||
);
|
||||
|
||||
let area = Rectangle::<i32, Logical>::from_loc_and_size(
|
||||
location.to_f64().to_logical(scale).to_i32_round(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue