--- a/cocoa/ScintillaView.mm
+++ b/cocoa/ScintillaView.mm
@@ -105,6 +105,8 @@
 
 - (void) mouseDown: (NSEvent *) theEvent
 {
+  NSClipView *textView = [[self scrollView] contentView];
+  [[textView window] makeFirstResponder:textView];
   owner.backend->MouseDown(theEvent);
 }