dmx: #if PANORAMIX → #ifdef PANORAMIX
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
ceaf427744
commit
2c3e137b78
|
@ -438,7 +438,7 @@ ProcDMXChangeScreensAttributes(ClientPtr client)
|
||||||
value_list += count;
|
value_list += count;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if PANORAMIX
|
#ifdef PANORAMIX
|
||||||
status = dmxConfigureScreenWindows(stuff->screenCount,
|
status = dmxConfigureScreenWindows(stuff->screenCount,
|
||||||
screen_list, attribs, &errorScreen);
|
screen_list, attribs, &errorScreen);
|
||||||
#endif
|
#endif
|
||||||
|
@ -748,7 +748,7 @@ ProcDMXChangeDesktopAttributes(ClientPtr client)
|
||||||
dmxGetDesktopAttributes(&attr);
|
dmxGetDesktopAttributes(&attr);
|
||||||
dmxFetchDesktopAttributes(stuff->valueMask, &attr, value_list);
|
dmxFetchDesktopAttributes(stuff->valueMask, &attr, value_list);
|
||||||
|
|
||||||
#if PANORAMIX
|
#ifdef PANORAMIX
|
||||||
status = dmxConfigureDesktop(&attr);
|
status = dmxConfigureDesktop(&attr);
|
||||||
#endif
|
#endif
|
||||||
if (status == BadValue)
|
if (status == BadValue)
|
||||||
|
|
|
@ -640,7 +640,7 @@ InitOutput(ScreenInfo * pScreenInfo, int argc, char *argv[])
|
||||||
for (i = 0; i < dmxNumScreens; i++)
|
for (i = 0; i < dmxNumScreens; i++)
|
||||||
dmxDisplayInit(&dmxScreens[i]);
|
dmxDisplayInit(&dmxScreens[i]);
|
||||||
|
|
||||||
#if PANORAMIX
|
#ifdef PANORAMIX
|
||||||
/* Register a Xinerama callback which will run from within
|
/* Register a Xinerama callback which will run from within
|
||||||
* PanoramiXCreateConnectionBlock. We can use the callback to
|
* PanoramiXCreateConnectionBlock. We can use the callback to
|
||||||
* determine if Xinerama is loaded and to check the visuals
|
* determine if Xinerama is loaded and to check the visuals
|
||||||
|
|
Loading…
Reference in New Issue