Skip to content
Snippets Groups Projects
Commit 3aab4e85 authored by George Nachman's avatar George Nachman
Browse files

Add three finger emulates middle checkbox as condition for enabling touch tracking

parent f96e3a0d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -71,7 +71,8 @@
 
- (BOOL)viewShouldTrackTouches
{
return [PointerPrefsController haveThreeFingerTapEvents];
return [[PreferencePanel sharedInstance] threeFingerEmulatesMiddle] ||
[PointerPrefsController haveThreeFingerTapEvents];
}
 
- (BOOL)eventEmulatesRightClick:(NSEvent *)event
Loading
Loading
Loading
Loading
@@ -40,6 +40,7 @@
#import "TriggerController.h"
#import "SmartSelectionController.h"
#import "TrouterPrefsController.h"
#import "PointerPrefsController.h"
 
#define CUSTOM_COLOR_PRESETS @"Custom Color Presets"
#define HOTKEY_WINDOW_GENERATED_PROFILE_NAME @"Hotkey Window"
Loading
Loading
@@ -1583,6 +1584,11 @@ static float versionNumber;
[[NSNotificationCenter defaultCenter] postNotificationName:@"iTermRefreshTerminal"
object:nil
userInfo:nil];
if (sender == threeFingerEmulatesMiddle) {
[[NSNotificationCenter defaultCenter] postNotificationName:kPointerPrefsChangedNotification
object:nil
userInfo:nil];
}
} else if (sender == windowNumber ||
sender == jobName ||
sender == showBookmarkName) {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment