shell: disable WindowUI detection if constraint is active
This commit is contained in:
parent
208c2128cd
commit
203cad8cbd
8 changed files with 69 additions and 24 deletions
|
|
@ -269,10 +269,13 @@ impl CosmicMapped {
|
|||
&self,
|
||||
relative_pos: Point<f64, Logical>,
|
||||
surface_type: WindowSurfaceType,
|
||||
seat: &Seat<State>,
|
||||
) -> Option<(PointerFocusTarget, Point<f64, Logical>)> {
|
||||
match &self.element {
|
||||
CosmicMappedInternal::Stack(stack) => stack.focus_under(relative_pos, surface_type),
|
||||
CosmicMappedInternal::Window(window) => window.focus_under(relative_pos, surface_type),
|
||||
CosmicMappedInternal::Window(window) => {
|
||||
window.focus_under(relative_pos, surface_type, Some(seat))
|
||||
}
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue