Lines 232-238
Link Here
|
232 |
|
232 |
|
233 |
#include <X11/Xatom.h> |
233 |
#include <X11/Xatom.h> |
234 |
#ifndef SOLARIS |
234 |
#ifndef SOLARIS |
235 |
#ifdef X86 |
235 |
#if defined(X86) || defined(MACOSX) |
236 |
extern "C" { |
236 |
extern "C" { |
237 |
#include <X11/extensions/Xinerama.h> |
237 |
#include <X11/extensions/Xinerama.h> |
238 |
} |
238 |
} |
Lines 1190-1196
Link Here
|
1190 |
sscanf( pProperties, "%li", &nProperties_ ); |
1190 |
sscanf( pProperties, "%li", &nProperties_ ); |
1191 |
else |
1191 |
else |
1192 |
{ |
1192 |
{ |
1193 |
#if defined DBG_UTIL || defined SUN || defined LINUX || defined FREEBSD || defined IRIX |
1193 |
#if defined DBG_UTIL || defined SUN || defined LINUX || defined FREEBSD || defined IRIX || defined MACOSX |
1194 |
nProperties_ |= PROPERTY_FEATURE_Maximize; |
1194 |
nProperties_ |= PROPERTY_FEATURE_Maximize; |
1195 |
#endif |
1195 |
#endif |
1196 |
// Server Bugs & Properties |
1196 |
// Server Bugs & Properties |
Lines 1219-1225
Link Here
|
1219 |
#ifdef ARM32 // ??? Server! nicht Client ??? |
1219 |
#ifdef ARM32 // ??? Server! nicht Client ??? |
1220 |
nProperties_ &= ~PROPERTY_SUPPORT_XSetClipMask; |
1220 |
nProperties_ &= ~PROPERTY_SUPPORT_XSetClipMask; |
1221 |
#endif |
1221 |
#endif |
1222 |
#if defined LINUX || defined FREEBSD |
1222 |
#if defined LINUX || defined FREEBSD || defined MACOSX |
1223 |
// otherwm and olwm are a kind of default, which are not detected |
1223 |
// otherwm and olwm are a kind of default, which are not detected |
1224 |
// carefully. if we are running linux (i.e. not netbsd) on an xfree |
1224 |
// carefully. if we are running linux (i.e. not netbsd) on an xfree |
1225 |
// display, fvwm is most probable the wm to choose, confusing with mwm |
1225 |
// display, fvwm is most probable the wm to choose, confusing with mwm |
Lines 3033-3039
Link Here
|
3033 |
|
3033 |
|
3034 |
void SalDisplay::InitXinerama() |
3034 |
void SalDisplay::InitXinerama() |
3035 |
{ |
3035 |
{ |
3036 |
#ifdef SOLARIS |
3036 |
#if defined( SOLARIS ) |
3037 |
// do this load on call for benefit of Solaris < 8 |
3037 |
// do this load on call for benefit of Solaris < 8 |
3038 |
rtl::OUString aLib( RTL_CONSTASCII_USTRINGPARAM( "libXext.so" ) ); |
3038 |
rtl::OUString aLib( RTL_CONSTASCII_USTRINGPARAM( "libXext.so" ) ); |
3039 |
rtl::OUString aSymb1( RTL_CONSTASCII_USTRINGPARAM( "XineramaGetState" ) ); |
3039 |
rtl::OUString aSymb1( RTL_CONSTASCII_USTRINGPARAM( "XineramaGetState" ) ); |
Lines 3071-3077
Link Here
|
3071 |
} |
3071 |
} |
3072 |
osl_unloadModule( hModule ); |
3072 |
osl_unloadModule( hModule ); |
3073 |
#else |
3073 |
#else |
3074 |
#ifdef X86 |
3074 |
#if defined( X86 ) || defined( MACOSX ) |
3075 |
if( XineramaIsActive( pDisp_ ) ) |
3075 |
if( XineramaIsActive( pDisp_ ) ) |
3076 |
{ |
3076 |
{ |
3077 |
int nFramebuffers = 1; |
3077 |
int nFramebuffers = 1; |