From 755d16cbded6c3f206379c0c172c82cd8a6f5859 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Wed, 23 Apr 2008 02:19:50 -0700 Subject: [PATCH] XQuartz: Make sure QuartzAudioInit() gets run. (cherry picked from commit bb3d034675b70e22e78df5554cab0ec2a3d913d0) --- hw/xquartz/quartz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xquartz/quartz.c b/hw/xquartz/quartz.c index 519032603..6f8fe4ae9 100644 --- a/hw/xquartz/quartz.c +++ b/hw/xquartz/quartz.c @@ -164,7 +164,7 @@ void QuartzInitOutput( generation = serverGeneration; } - if (serverGeneration == 0) { + if (serverGeneration == 1) { QuartzAudioInit(); } @@ -252,7 +252,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