#72: additional debugging

This commit is contained in:
Cameron Kaiser 2017-08-01 19:20:37 -07:00
parent 1cf170047d
commit 0683827d29

View File

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