fix lock_status on secondary split

This commit is contained in:
xs5871 2022-02-03 22:16:55 +00:00 committed by Josh Klar
parent 55a6636741
commit 3e3255ffea

@ -37,9 +37,10 @@ class LockStatus(Extension):
return return
def after_hid_send(self, sandbox): def after_hid_send(self, sandbox):
report = self.hid.get_last_received_report() if self.hid:
if report[0] != self.report: report = self.hid.get_last_received_report()
self.report = report[0] if report[0] != self.report:
self.report = report[0]
return return
def on_powersave_enable(self, sandbox): def on_powersave_enable(self, sandbox):