fix: filter by active workspace in overlap notify
This commit is contained in:
parent
fc84fa9948
commit
76863aaf9b
3 changed files with 45 additions and 4 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue