diff options
author | Ben Bridle <ben@derelict.engineering> | 2024-12-16 14:45:21 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2024-12-16 14:45:21 +1300 |
commit | 58faa15a909fe849e7e14a26cca85baf40e7598a (patch) | |
tree | bfc7ecff50dd21289306c87c8256d325ef59a12c /src | |
parent | 87f8faba2fde2ac4cfa79dbb1f30907b6e48653c (diff) | |
download | bedrock-pc-58faa15a909fe849e7e14a26cca85baf40e7598a.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/devices/input_device.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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, |