mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
image-device: Delay task completion until device is deactivated
The earlier image device code tried to hide deactivation from the surrounding library. However, this does not make any sense anymore with the early reporting feature present. This changes the operation to complete only once the device is deactivated. Also changed that in most cases (except for cancellation) we wait for the finger to be removed before deactivating the device.
This commit is contained in:
committed by
Benjamin Berg
parent
81e0f4dfe5
commit
52b2d10887
@@ -29,11 +29,13 @@ typedef struct
|
||||
gboolean active;
|
||||
gboolean cancelling;
|
||||
|
||||
gboolean enroll_await_on_pending;
|
||||
gboolean finger_present;
|
||||
|
||||
gint enroll_stage;
|
||||
|
||||
guint pending_activation_timeout_id;
|
||||
gboolean pending_activation_timeout_waiting_finger_off;
|
||||
gboolean minutiae_scan_active;
|
||||
GError *action_error;
|
||||
FpImage *capture_image;
|
||||
|
||||
gint bz3_threshold;
|
||||
} FpImageDevicePrivate;
|
||||
|
||||
Reference in New Issue
Block a user