Mercurial > sdl-ios-xcode
view src/audio/Makefile.am @ 1119:430d8d701f69
SDL_GetAppState() correction when toggling fullscreen on OSX.
Patch by me to address this comment on the SDL mailing list:
"There appears to be a serious bug with SDL_GetAppState on OS X (10.3.9). When
first running in windowed mode and then switching to full screen mode by
calling SDL_SetVideoMode, SDL_GetAppState returns 4 (SDL_APPACTIVE) instead of
7 (SDL_APPMOUSEFOCUS | SDL_APPINPUTFOCUS | SDL_APPACTIVE). However, the SDL
application clearly does have the keyboard focus, since it is able to receive
keyboard events."
--ryan.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 18 Aug 2005 06:18:30 +0000 |
parents | d33c095f7001 |
children |
line wrap: on
line source
## Makefile.am for the SDL audio library noinst_LTLIBRARIES = libaudio.la # Define which subdirectories need to be built SUBDIRS = @AUDIO_SUBDIRS@ DIST_SUBDIRS = \ alsa \ arts \ baudio \ dc \ disk \ dma \ dmedia \ dsp \ esd \ macosx \ macrom \ mint \ mme \ nas \ nto \ openbsd \ paudio \ sun \ ums \ windib \ windx5 DRIVERS = @AUDIO_DRIVERS@ # Include the architecture-independent sources COMMON_SRCS = \ SDL_audio.c \ SDL_audio_c.h \ SDL_audiocvt.c \ SDL_audiodev.c \ SDL_audiodev_c.h \ SDL_audiomem.c \ SDL_audiomem.h \ SDL_mixer.c \ SDL_sysaudio.h \ SDL_wave.c \ SDL_wave.h \ SDL_mixer_MMX.c \ SDL_mixer_MMX.h \ SDL_mixer_MMX_VC.c \ SDL_mixer_MMX_VC.h \ SDL_mixer_m68k.c \ SDL_mixer_m68k.h libaudio_la_SOURCES = $(COMMON_SRCS) libaudio_la_LIBADD = $(DRIVERS) libaudio_la_DEPENDENCIES = $(DRIVERS)