--- a/src/video/quartz/SDL_QuartzEvents.m Sat Aug 09 22:49:28 2003 +0000
+++ b/src/video/quartz/SDL_QuartzEvents.m Sun Aug 10 07:21:43 2003 +0000
@@ -251,6 +251,9 @@
SDL_PrivateKeyboard (state, &key);
}
}
+
+ if (getenv ("SDL_ENABLEAPPEVENTS"))
+ [ NSApp sendEvent:event ];
}
static void QZ_DoModifiers (_THIS, unsigned int newMods) {
@@ -464,7 +467,7 @@
type = [ event type ];
isForGameWin = (qz_window == [ event window ]);
- isInGameWin = (mode_flags & SDL_FULLSCREEN) ? true : NSPointInRect([event locationInWindow], winRect);
+ isInGameWin = (mode_flags & SDL_FULLSCREEN) ? true : NSPointInRect([event locationInWindow], [ window_view frame ]);
switch (type) {
case NSLeftMouseDown:
if ( getenv("SDL_HAS3BUTTONMOUSE") ) {