Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab69fa7b authored by Charisee's avatar Charisee Committed by Charisee Chiw
Browse files

Update needed for Rust v1.73.0

parent ffce10d1
Loading
Loading
Loading
Loading
+3 −12
Original line number Diff line number Diff line
@@ -124,10 +124,7 @@ impl InputVerifier {
                        self.name, device_id, self.touching_pointer_ids_by_device
                    ));
                }
                let it = self
                    .touching_pointer_ids_by_device
                    .entry(device_id)
                    .or_insert_with(HashSet::new);
                let it = self.touching_pointer_ids_by_device.entry(device_id).or_default();
                it.insert(pointer_properties[0].id);
            }
            MotionAction::PointerDown { action_index } => {
@@ -224,19 +221,13 @@ impl InputVerifier {
                        self.name, device_id, self.hovering_pointer_ids_by_device
                    ));
                }
                let it = self
                    .hovering_pointer_ids_by_device
                    .entry(device_id)
                    .or_insert_with(HashSet::new);
                let it = self.hovering_pointer_ids_by_device.entry(device_id).or_default();
                it.insert(pointer_properties[0].id);
            }
            MotionAction::HoverMove => {
                // For compatibility reasons, we allow HOVER_MOVE without a prior HOVER_ENTER.
                // If there was no prior HOVER_ENTER, just start a new hovering pointer.
                let it = self
                    .hovering_pointer_ids_by_device
                    .entry(device_id)
                    .or_insert_with(HashSet::new);
                let it = self.hovering_pointer_ids_by_device.entry(device_id).or_default();
                it.insert(pointer_properties[0].id);
            }
            MotionAction::HoverExit => {