XQuartz: Make sure QuartzAudioInit() gets run.

(cherry picked from commit bb3d034675)
This commit is contained in:
Jeremy Huddleston 2008-04-23 02:22:14 -07:00
parent b9b2d028d2
commit 824b31c7f8

View File

@ -156,7 +156,7 @@ void QuartzInitOutput(
int argc,
char **argv )
{
if (serverGeneration == 0) {
if (serverGeneration == 1) {
QuartzAudioInit();
}
@ -244,7 +244,7 @@ void QuartzDisplayChangedHandler(int screenNum, xEventPtr xe, DeviceIntPtr dev,
int x, y, width, height, sx, sy;
xEvent e;
DEBUG_LOG("QuartzDisplayChangedHandler()\n");
DEBUG_LOG("QuartzDisplayChangedHandler(): noPseudoramiXExtension=%d, screenInfo.numScreens=%d\n", noPseudoramiXExtension, screenInfo.numScreens);
if (noPseudoramiXExtension || screenInfo.numScreens != 1)
{
/* FIXME: if not using Xinerama, we have multiple screens, and