Skip to content

Commit ef5a1a3

Browse files
committed
fix(overlap): check if window is sticky
1 parent 7a52eff commit ef5a1a3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/wayland/protocols/overlap_notify.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,11 @@ impl OverlapNotifyState {
117117
.unwrap()
118118
.lock()
119119
.unwrap();
120-
active_workspaces.iter().any(|active_workspace| {
121-
state.in_workspace(&active_workspace)
122-
})
120+
121+
w.is_sticky()
122+
|| active_workspaces.iter().any(|active_workspace| {
123+
state.in_workspace(&active_workspace)
124+
})
123125
})
124126
{
125127
if let Some(window_geo) = window.global_geometry() {

0 commit comments

Comments
 (0)