From 69bacb7a94eb253df7583d8b0b30c1fe9d7413be Mon Sep 17 00:00:00 2001 From: Sammi De Guzman Date: Tue, 26 Sep 2023 17:50:38 -0700 Subject: [PATCH] mac: Make _send_sequence not static in order to apply delay --- plover/oslayer/osx/keyboardcontrol.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plover/oslayer/osx/keyboardcontrol.py b/plover/oslayer/osx/keyboardcontrol.py index 644d1d1b4..ed60f8b05 100644 --- a/plover/oslayer/osx/keyboardcontrol.py +++ b/plover/oslayer/osx/keyboardcontrol.py @@ -437,8 +437,7 @@ def _get_media_event(key_id, key_down): -1 ).CGEvent() - @staticmethod - def _send_sequence(sequence): + def _send_sequence(self, sequence): # There is a bug in the event system that seems to cause inconsistent # modifiers on key events: # http://stackoverflow.com/questions/2008126/cgeventpost-possible-bug-when-simulating-keyboard-events