xdg_popup: Fix output-check for secondary displays
This commit is contained in:
parent
87543972ea
commit
d14d9d3439
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ fn unconstrain_xdg_popup(
|
|||
if let Some(output_rect) = space
|
||||
.outputs_for_window(window)
|
||||
.into_iter()
|
||||
.find(|o| o.geometry().contains(anchor_point))
|
||||
.find(|o| space.output_geometry(o).map(|rect| rect.contains(anchor_point)).unwrap_or(false))
|
||||
.map(|o| space.output_geometry(&o).unwrap())
|
||||
{
|
||||
// the output_rect represented relative to the parents coordinate system
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue