diff options
Diffstat (limited to 'make')
-rw-r--r-- | make/build.xml | 4 | ||||
-rw-r--r-- | make/stub_includes/x11/window-system.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml index 728b93b6b..7d9c45efb 100644 --- a/make/build.xml +++ b/make/build.xml @@ -888,6 +888,10 @@ <include name="${rootrel.src.c.jogl}/InternalBufferUtils.c"/> <include name="${rootrel.src.c.jogl}/*.m" if="isOSX"/> <include name="${rootrel.generated.c.jogl}/*GL*.c"/> + <include name="${rootrel.src.c.jogl}/XineramaHelper.c" if="isX11"/> + <!-- Xinerama supporting functions for Linux only (for now) --> + <!-- Also supported on Solaris, but works differently --> + <include name="${rootrel.src.c.jogl}/Xinerama.c" if="isLinux"/> </patternset> <patternset id="c.src.files.jogl_awt"> diff --git a/make/stub_includes/x11/window-system.c b/make/stub_includes/x11/window-system.c index 00b474899..20cb91a08 100644 --- a/make/stub_includes/x11/window-system.c +++ b/make/stub_includes/x11/window-system.c @@ -36,6 +36,9 @@ extern int XFreePixmap( Pixmap /* pixmap */ ); +// Helper routine for querying whether Xinerama is enabled. +Bool XineramaEnabled(Display* display); + // Routines for changing gamma settings. // Note that these are not currently supported on Solaris. Bool XF86VidModeGetGammaRampSize( |