xdg-popup: implement jay-popup-ext-v1
This commit is contained in:
parent
15e6ab2b8a
commit
1d3dfa8b3a
12 changed files with 473 additions and 8 deletions
|
|
@ -103,6 +103,14 @@ impl NodeSeatState {
|
|||
self.pointer_foci.remove(&seat.id);
|
||||
}
|
||||
|
||||
pub fn pointer_inside(&self, seat: &WlSeatGlobal) -> bool {
|
||||
self.pointer_foci.contains(&seat.id)
|
||||
}
|
||||
|
||||
pub fn pointer_not_inside(&self, seat: &WlSeatGlobal) -> bool {
|
||||
!self.pointer_inside(seat)
|
||||
}
|
||||
|
||||
pub fn disable_focus_history(&self) {
|
||||
self.no_focus_history.set(true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue