ratbagd.py: update the report rate of the profile

Another regression by me.
This commit is contained in:
Yaroslav Chvanov
2023-03-05 15:35:55 +03:00
parent 5cc09a0dfe
commit dfb371ce08

View File

@@ -466,6 +466,11 @@ class RatbagdProfile(_RatbagdDBus):
self._dirty = dirty
self.notify("dirty")
if "ReportRate" in changed_props.keys():
report_rate = changed_props["ReportRate"]
if report_rate != self._report_rate:
self._report_rate = report_rate
@GObject.Property
def capabilities(self):
"""The capabilities of this profile as an array. Capabilities not