fbd-feedback-manager: Check if feedback is usable

If we don't find any usable feedbacks for an event return
FBD_EVENT_END_REASON_NOT_FOUND.
This commit is contained in:
Guido Günther
2020-07-22 10:28:42 +00:00
committed by Guido Gunther
parent 542fe52cc2
commit e8dfe6974a
2 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
G_BEGIN_DECLS
typedef enum _FbdEventEndReason {
/* No feedback in current theme for this event */
/* No usable feedback in current theme for this event */
FBD_EVENT_END_REASON_NOT_FOUND = -1,
/* all feedbacks finished playing their natural length */
FBD_EVENT_END_REASON_NATURAL = 0,