From dfb371ce08071944fe63db0d1bfd1d9841220d1d Mon Sep 17 00:00:00 2001 From: Yaroslav Chvanov Date: Sun, 5 Mar 2023 15:35:55 +0300 Subject: [PATCH] ratbagd.py: update the report rate of the profile Another regression by me. --- piper/ratbagd.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/piper/ratbagd.py b/piper/ratbagd.py index a377b2d..beb6a8a 100644 --- a/piper/ratbagd.py +++ b/piper/ratbagd.py @@ -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