From 8a73fe01e42c6ce90494a2c749a6312e2069d8ae Mon Sep 17 00:00:00 2001 From: Toxblh Date: Wed, 15 May 2019 16:40:09 +0100 Subject: [PATCH] Revert "#154 .cghidEventTap -> .cgAnnotatedSessionEventTap" This reverts commit 5a8117ac7f0e5ab3898cf5a60699adcaa74733ea. --- MTMR/Info.plist | 4 ++-- MTMR/KeyPress.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MTMR/Info.plist b/MTMR/Info.plist index 06505cc..1180dfc 100644 --- a/MTMR/Info.plist +++ b/MTMR/Info.plist @@ -17,9 +17,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.20.2 + 0.20.1 CFBundleVersion - 197 + 185 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion diff --git a/MTMR/KeyPress.swift b/MTMR/KeyPress.swift index a4afe2b..1f68768 100644 --- a/MTMR/KeyPress.swift +++ b/MTMR/KeyPress.swift @@ -23,7 +23,7 @@ extension KeyPress { let keyDown = CGEvent(keyboardEventSource: src, virtualKey: keyCode, keyDown: true) let keyUp = CGEvent(keyboardEventSource: src, virtualKey: keyCode, keyDown: false) - let loc: CGEventTapLocation = .cgAnnotatedSessionEventTap + let loc: CGEventTapLocation = .cghidEventTap keyDown?.post(tap: loc) keyUp?.post(tap: loc) }