dmx: #if PANORAMIX → #ifdef PANORAMIX

Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2018-02-14 14:10:44 -05:00
parent ceaf427744
commit 2c3e137b78
2 changed files with 3 additions and 3 deletions

View File

@ -438,7 +438,7 @@ ProcDMXChangeScreensAttributes(ClientPtr client)
value_list += count;
}
#if PANORAMIX
#ifdef PANORAMIX
status = dmxConfigureScreenWindows(stuff->screenCount,
screen_list, attribs, &errorScreen);
#endif
@ -748,7 +748,7 @@ ProcDMXChangeDesktopAttributes(ClientPtr client)
dmxGetDesktopAttributes(&attr);
dmxFetchDesktopAttributes(stuff->valueMask, &attr, value_list);
#if PANORAMIX
#ifdef PANORAMIX
status = dmxConfigureDesktop(&attr);
#endif
if (status == BadValue)

View File

@ -640,7 +640,7 @@ InitOutput(ScreenInfo * pScreenInfo, int argc, char *argv[])
for (i = 0; i < dmxNumScreens; i++)
dmxDisplayInit(&dmxScreens[i]);
#if PANORAMIX
#ifdef PANORAMIX
/* Register a Xinerama callback which will run from within
* PanoramiXCreateConnectionBlock. We can use the callback to
* determine if Xinerama is loaded and to check the visuals