diff options
author | Aaron Bockover <abock@microsoft.com> | 2019-03-08 23:41:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-08 23:41:38 +0300 |
commit | 91dbd81ecee46bd9fa7b5a93b77ba2c497872513 (patch) | |
tree | 84fd41924f365f045cf354f0e4690117ff877a28 /main | |
parent | d9b2683518bca9d8e6cdd067d1726ed1faf4612d (diff) | |
parent | 7fda82e84ba7d05887088d840e6e3505181b32c7 (diff) |
Merge pull request #310 from xamarin/pr-sandy-controlling
MdMouseProcessor: Fix ctrl+click regression
Diffstat (limited to 'main')
-rw-r--r-- | main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor.Cocoa/MdMouseProcessorProvider.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor.Cocoa/MdMouseProcessorProvider.cs b/main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor.Cocoa/MdMouseProcessorProvider.cs index 248f0a72f2..70e883efd2 100644 --- a/main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor.Cocoa/MdMouseProcessorProvider.cs +++ b/main/src/addins/MonoDevelop.TextEditor/MonoDevelop.TextEditor.Cocoa/MdMouseProcessorProvider.cs @@ -91,6 +91,12 @@ namespace MonoDevelop.TextEditor.Cocoa view); } + public override void PostprocessMouseLeftButtonDown (MouseEvent e) + { + if ((e.Event.ModifierFlags & NSEventModifierMask.DeviceIndependentModifierFlagsMask) == NSEventModifierMask.ControlKeyMask) + PreprocessMouseRightButtonDown (e); + } + public override void PostprocessMouseLeftButtonUp (MouseEvent e) { if ((e.Event.ModifierFlags & NSEventModifierMask.DeviceIndependentModifierFlagsMask) == NSEventModifierMask.ControlKeyMask) |