From 58faa15a909fe849e7e14a26cca85baf40e7598a Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Mon, 16 Dec 2024 14:45:21 +1300 Subject: Update phosphor dependency to v3.2.1 This includes a fix to prevent the cursor from being marked as inactive while at least one mouse button is still being held. --- src/devices/input_device.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/devices') diff --git a/src/devices/input_device.rs b/src/devices/input_device.rs index 638c277..9b7038c 100644 --- a/src/devices/input_device.rs +++ b/src/devices/input_device.rs @@ -105,6 +105,7 @@ impl InputDevice { MouseButton::Left => 0x80, MouseButton::Middle => 0x40, MouseButton::Right => 0x20, + _ => return, }; let pointer_buttons = match action { Action::Pressed => self.pointer_buttons | mask, -- cgit v1.2.3-70-g09d2