Skip to content

Commit

Permalink
desktop: test sibling surfaces for input
Browse files Browse the repository at this point in the history
TraversalAction::Break will stop the traversal early, which can
result in us missing some sibling surfaces. Skipping the children
is fine as they are also unmapped.
  • Loading branch information
cmeissl authored and Drakulix committed Mar 12, 2024
1 parent 1843b0f commit e61db79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/desktop/wayland/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ where
TraversalAction::SkipChildren
}
} else {
// We are completely hidden
TraversalAction::Break
// We are completely hidden, no point in traversing our children
TraversalAction::SkipChildren
}
},
|wl_surface, states, location: &Point<i32, Logical>| {
Expand Down

0 comments on commit e61db79

Please sign in to comment.