XQuartz: Make sure QuartzAudioInit() gets run.
(cherry picked from commit bb3d034675b70e22e78df5554cab0ec2a3d913d0) (cherry picked from commit 824b31c7f8144a67a320442abd3d854e99d2bfe2)
This commit is contained in:
parent
00815b3e52
commit
76381092e8
|
@ -156,7 +156,7 @@ void QuartzInitOutput(
|
||||||
int argc,
|
int argc,
|
||||||
char **argv )
|
char **argv )
|
||||||
{
|
{
|
||||||
if (serverGeneration == 0) {
|
if (serverGeneration == 1) {
|
||||||
QuartzAudioInit();
|
QuartzAudioInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -244,7 +244,7 @@ void QuartzDisplayChangedHandler(int screenNum, xEventPtr xe, DeviceIntPtr dev,
|
||||||
int x, y, width, height, sx, sy;
|
int x, y, width, height, sx, sy;
|
||||||
xEvent e;
|
xEvent e;
|
||||||
|
|
||||||
DEBUG_LOG("QuartzDisplayChangedHandler()\n");
|
DEBUG_LOG("QuartzDisplayChangedHandler(): noPseudoramiXExtension=%d, screenInfo.numScreens=%d\n", noPseudoramiXExtension, screenInfo.numScreens);
|
||||||
if (noPseudoramiXExtension || screenInfo.numScreens != 1)
|
if (noPseudoramiXExtension || screenInfo.numScreens != 1)
|
||||||
{
|
{
|
||||||
/* FIXME: if not using Xinerama, we have multiple screens, and
|
/* FIXME: if not using Xinerama, we have multiple screens, and
|
||||||
|
|
Loading…
Reference in New Issue