shell: Fix popup-positioning for secondary monitor layer-shell surfaces
This commit is contained in:
parent
1928f9a9af
commit
2a41d944e0
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ fn unconstrain_layer_popup(
|
|||
let layer_geo = map.layer_geometry(layer_surface).unwrap();
|
||||
|
||||
// the output_rect represented relative to the parents coordinate system
|
||||
let mut relative = output.geometry();
|
||||
let mut relative = Rectangle::from_loc_and_size((0, 0), output.geometry().size);
|
||||
relative.loc -= layer_geo.loc;
|
||||
let offset = check_constrained(&surface, positioner.get_geometry(), relative);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue