From 93a9847b5929d0b48f98e8f05cfb36c86b1c3dc7 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 27 Dec 2015 16:15:18 -0500 Subject: [PATCH] Added debugging code for mouseExited:. In El Capitan it's not working in scrolled views... --- darwin/area.m | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/darwin/area.m b/darwin/area.m index d7f34433..34e981ad 100644 --- a/darwin/area.m +++ b/darwin/area.m @@ -223,6 +223,10 @@ mouseEvent(otherMouseUp) { uiArea *a = self->libui_a; +NSLog(@"entered"); +NSLog(@"a %p", a); +NSLog(@"ah %p", a->ah); +NSLog(@"crossed %p", a->ah->MouseCrossed); (*(a->ah->MouseCrossed))(a->ah, a, 0); } @@ -230,6 +234,10 @@ mouseEvent(otherMouseUp) { uiArea *a = self->libui_a; +NSLog(@"exited"); +NSLog(@"a %p", a); +NSLog(@"ah %p", a->ah); +NSLog(@"crossed %p", a->ah->MouseCrossed); (*(a->ah->MouseCrossed))(a->ah, a, 1); }