summaryrefslogtreecommitdiff
path: root/area_darwin.m
diff options
context:
space:
mode:
Diffstat (limited to 'area_darwin.m')
-rw-r--r--area_darwin.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/area_darwin.m b/area_darwin.m
index a9a565f..6522ecc 100644
--- a/area_darwin.m
+++ b/area_darwin.m
@@ -56,6 +56,12 @@ extern NSRect dummyRect;
return YES;
}
+// this will have the Area receive a click that switches to the Window it is in from another one
+- (BOOL)acceptsFirstMouse:(NSEvent *)e
+{
+ return YES;
+}
+
- (void)retrack
{
trackingArea = [[NSTrackingArea alloc]