Skip to content

Commit

Permalink
Merge pull request #1288 from deepak1556/native_window_mac_patch
Browse files Browse the repository at this point in the history
added acceptsFirstMouse for controlRegionView
  • Loading branch information
zcbenz committed Mar 24, 2015
2 parents d46c64f + 7006a14 commit c4b2401
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions atom/browser/native_window_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,10 @@ - (void)mouseDragged:(NSEvent*)event {
shellWindow_->HandleMouseEvent(event);
}

- (BOOL)acceptsFirstMouse:(NSEvent*)event {
return YES;
}

@end

@interface AtomProgressBar : NSProgressIndicator
Expand Down

0 comments on commit c4b2401

Please sign in to comment.