#72: additional debugging

This commit is contained in:
Cameron Kaiser 2017-08-01 19:20:37 -07:00
parent 1cf170047d
commit 0683827d29
1 changed files with 7 additions and 1 deletions

View File

@ -4029,7 +4029,7 @@ TitlebarDrawCallback(void* aInfo, CGContextRef aContext)
}
if (target) {
#ifdef DEBUG
fprintf(stderr, "trying to deliver this event too\n");
fprintf(stderr, "trying to deliver this event too (%i)\n", (uint32_t)type);
#endif
// TenFourFox issue 248
@ -4108,10 +4108,16 @@ TitlebarDrawCallback(void* aInfo, CGContextRef aContext)
[target otherMouseDragged:anEvent];
break;
default:
#if DEBUG
fprintf(stderr, "don't know this event type! sending to super\n");
#endif
[super sendEvent:anEvent];
break;
}
} else {
#if DEBUG
fprintf(stderr, "no target for this event! sending to super\n");
#endif
[super sendEvent:anEvent];
}