fix: filter by active workspace in overlap notify

This commit is contained in:
Ashley Wulber 2024-12-05 12:13:31 -05:00 • committed by Victoria Brekenfeld
parent fc84fa9948
commit 76863aaf9b
3 changed files with 45 additions and 4 deletions

View file

@ -80,6 +80,10 @@ impl ToplevelStateInner {
pub fn foreign_handle(&self) -> Option<&ForeignToplevelHandle> {
self.foreign_handle.as_ref()
}
pub fn in_workspace(&self, handle: &WorkspaceHandle) -> bool {
self.workspaces.contains(handle)
}
}
pub struct ToplevelHandleStateInner<W: Window> {