fix: constrain layer shell popups to output
This commit is contained in:
1 parent
d822920d59
commit
501521cf78
2 files changed
+28
-15
No files matched your search
@@ -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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user