cargo fmt
This commit is contained in:
parent
5e9ea93819
commit
b6c5d00bec
17 changed files with 264 additions and 277 deletions
|
|
@ -16,7 +16,8 @@ impl PointerConstraintsHandler for State {
|
|||
fn new_constraint(&mut self, surface: &WlSurface, pointer: &PointerHandle<Self>) {
|
||||
// XXX region
|
||||
if pointer
|
||||
.current_focus().is_some_and(|x| x.wl_surface().as_deref() == Some(surface))
|
||||
.current_focus()
|
||||
.is_some_and(|x| x.wl_surface().as_deref() == Some(surface))
|
||||
{
|
||||
with_pointer_constraint(surface, pointer, |constraint| {
|
||||
constraint.unwrap().activate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue