Merge pull request #172 from pop-os/element-under-global
Fix `TilingLayout::element_under` position with global workspaces
This commit is contained in:
commit
af457ef723
1 changed files with 3 additions and 2 deletions
|
|
@ -3055,7 +3055,7 @@ impl TilingLayout {
|
||||||
mapped.is_in_input_region(&test_point).then(|| {
|
mapped.is_in_input_region(&test_point).then(|| {
|
||||||
(
|
(
|
||||||
mapped.clone().into(),
|
mapped.clone().into(),
|
||||||
last_geometry.loc - output_data.location - mapped.geometry().loc,
|
last_geometry.loc + output_data.location - mapped.geometry().loc,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -3086,7 +3086,8 @@ impl TilingLayout {
|
||||||
orientation,
|
orientation,
|
||||||
}
|
}
|
||||||
.into(),
|
.into(),
|
||||||
last_geometry.loc - output_data.location
|
last_geometry.loc
|
||||||
|
+ output_data.location
|
||||||
+ tree
|
+ tree
|
||||||
.children(&id)
|
.children(&id)
|
||||||
.unwrap()
|
.unwrap()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue