mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-01-03 20:30:00 +00:00
#72: additional debugging
This commit is contained in:
parent
1cf170047d
commit
0683827d29
@ -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];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user