Skip to content

Commit

Permalink
mac: Make _send_sequence not static in order to apply delay
Browse files Browse the repository at this point in the history
  • Loading branch information
sammdot committed Sep 27, 2023
1 parent 6a88de0 commit 69bacb7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plover/oslayer/osx/keyboardcontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 69bacb7

Please sign in to comment.