manager: Set initial profile to unknown

This makes sure we sync the profile with the DBus property after
fetching it from GSettings.
This commit is contained in:
Guido Günther
2022-02-04 19:03:00 +01:00
parent a7a123a0b7
commit 2be41ec0ef
+1 -1
View File
@@ -546,7 +546,7 @@ fbd_feedback_manager_init (FbdFeedbackManager *self)
const gchar * const subsystems[] = { "input", NULL };
self->next_id = 1;
self->level = FBD_FEEDBACK_PROFILE_LEVEL_FULL;
self->level = FBD_FEEDBACK_PROFILE_LEVEL_UNKNOWN;
self->client = g_udev_client_new (subsystems);
g_signal_connect_swapped (G_OBJECT (self->client), "uevent",