focus: Fix layer-popup locations
This commit is contained in:
parent
0092dac08c
commit
9a9eddb132
1 changed files with 1 additions and 3 deletions
|
|
@ -341,9 +341,7 @@ fn layer_popups<'a>(
|
|||
let location_clone = location.clone();
|
||||
let surface_clone = surface.clone();
|
||||
PopupManager::popups_for_surface(surface.wl_surface()).map(move |(popup, popup_offset)| {
|
||||
let offset = (popup_offset - popup.geometry().loc)
|
||||
.as_local()
|
||||
.to_global(output);
|
||||
let offset = (popup_offset - popup.geometry().loc).as_global();
|
||||
(surface_clone.clone(), popup, (location_clone + offset))
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue