mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-06-01 01:41:37 +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;
|
break;
|
||||||
default:
|
default:
|
||||||
#if DEBUG
|
#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
|
#endif
|
||||||
[super sendEvent:anEvent];
|
[super sendEvent:anEvent];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
#if DEBUG
|
#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
|
#endif
|
||||||
[super sendEvent:anEvent];
|
[super sendEvent:anEvent];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user