fix: constrain layer shell popups to output

This commit is contained in:
Samuel Onoja committed 2026-09-24 16:59:26 +01:00
1 parent d822920d59
commit 501521cf78
2 files changed
+28 -15

No files matched your search

+1
View File
@@ -47,6 +47,7 @@ impl WlrLayerShellHandler for Ferese {
}
fn new_popup(&mut self, _parent: LayerSurface, popup: PopupSurface) {
self.unconstrain_popup(&popup);
if let Err(error) = self.popups.track_popup(PopupKind::Xdg(popup)) {
tracing::warn!(?error, "failed to track layer-shell popup");
}