diff options
Diffstat (limited to 'cocoa/ScintillaView.mm')
| -rw-r--r-- | cocoa/ScintillaView.mm | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index 7b471f786..b6c39cf05 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -105,6 +105,8 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor)  - (void) mouseDown: (NSEvent *) theEvent  { +  NSClipView *textView = [[self scrollView] contentView]; +  [[textView window] makeFirstResponder:textView];    owner.backend->MouseDown(theEvent);  } | 
