Skip to content

activation of hs.hotkey.modal and hs.chooser are disabling sometimes my mouse event listener #3369

Answered by muescha
muescha asked this question in Q&A
Discussion options

You must be logged in to vote

ok - found a solution.

it seems it got garbage collected, because after some time the function also stopped - so i add a global:

hs.eventtap.new()

changed to:

MailMateFocusEventTap = hs.eventtap.new()

note: a local variable was not working...

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@muescha
Comment options

Answer selected by muescha
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants