fix: check layer map for root popup surface
This commit is contained in:
parent
a409770df7
commit
e1aa8f7cb4
2 changed files with 68 additions and 40 deletions
|
|
@ -42,7 +42,9 @@ impl WlrLayerShellHandler for State {
|
|||
fn new_popup(&mut self, _parent: WlrLayerSurface, popup: PopupSurface) {
|
||||
self.common.shell.read().unconstrain_popup(&popup);
|
||||
|
||||
if popup.send_configure().is_ok() {
|
||||
if let Err(err) = popup.send_configure() {
|
||||
tracing::warn!("Unable to configure popup. {err:?}",);
|
||||
} else {
|
||||
self.common
|
||||
.popups
|
||||
.track_popup(PopupKind::from(popup))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue