diff options
Diffstat (limited to 'src/window')
| -rw-r--r-- | src/window/mapped.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window/mapped.rs b/src/window/mapped.rs index 299e0acc..adfab2d4 100644 --- a/src/window/mapped.rs +++ b/src/window/mapped.rs @@ -720,6 +720,10 @@ impl LayoutElement for Mapped { self.toplevel().with_pending_state(|state| state.size) } + fn is_child_of(&self, parent: &Self) -> bool { + self.toplevel().parent().as_ref() == Some(parent.toplevel().wl_surface()) + } + fn refresh(&self) { self.window.refresh(); } |
