Removed autosave of selection changes. Save only occurs on lock. Shutdown needs to be added too.

This commit is contained in:
Michael Starke
2018-12-06 13:41:28 +01:00
parent af1648da1c
commit d8a20a1fe2
9 changed files with 77 additions and 10 deletions

View File

@@ -8,6 +8,8 @@
#import "MPKeyTyper.h"
#import "MPKeyMapper.h"
#import "MPAutotypeDaemon.h"
#import "MPAutotypeExecutionContext.h"
@implementation MPKeyTyper
@@ -53,7 +55,6 @@
/* TODO: Evaluate postToPid */
usleep(0.05 * NSEC_PER_MSEC);
CGEventPost(kCGHIDEventTap, releaseKey);
/* TODO: Evaluate postToPid */
CFRelease(pressKey);
CFRelease(releaseKey);