mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-02-06 18:30:16 +00:00
#72: let's try looking at this a different way (debug only)
This commit is contained in:
parent
b10941349c
commit
9ba7a9029c
@ -4109,14 +4109,16 @@ TitlebarDrawCallback(void* aInfo, CGContextRef aContext)
|
||||
break;
|
||||
default:
|
||||
#if DEBUG
|
||||
fprintf(stderr, "don't know this event type! sending to super\n");
|
||||
NSPoint y = nsCocoaUtils::ScreenLocationForEvent(anEvent);
|
||||
float l = nsCocoaUtils::FlippedScreenY(y.y);
|
||||
fprintf(stderr, "don't know this event type (%i) (y=%f)! sending to super\n", type, l);
|
||||
#endif
|
||||
[super sendEvent:anEvent];
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
#if DEBUG
|
||||
fprintf(stderr, "no target for this event! sending to super\n");
|
||||
fprintf(stderr, "no target for this event (%i)! sending to super\n", type);
|
||||
#endif
|
||||
[super sendEvent:anEvent];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user