Fixed minimizing fullscreen windows.

Removed misleading hide/unhide Cocoa notifications.
We have no way of knowing when a Cocoa window is maximized and then restored (right?)
Disabled spamy mouse motion events by default.
This commit is contained in:
Sam Lantinga 2011-02-27 21:17:06 -08:00
parent ade868c17f
commit 99de5726b1
4 changed files with 34 additions and 37 deletions

View file

@ -810,6 +810,11 @@ CommonInit(CommonState * state)
static void
PrintEvent(SDL_Event * event)
{
if (event->type == SDL_MOUSEMOTION) {
/* Mouse motion is really spammy */
return;
}
fprintf(stderr, "SDL EVENT: ");
switch (event->type) {
case SDL_WINDOWEVENT: