diff options
author | Sven Gothel <[email protected]> | 2012-02-27 18:20:37 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-02-27 18:20:37 +0100 |
commit | b7407c39c0d3785f2fc21782d31c439622f0d744 (patch) | |
tree | 5ef1fc876f54e182fa8cdea0226f55783c324a2f /make/stub_includes | |
parent | f519190f0cf97eb6b3fda61f4eb8c1f55de43b51 (diff) |
NativeWindow: Relax Xinerama dependency / Rename Windows impl subfolder to common name win32 (same as stub_include)
Utilizing dlopen/dlsym in an efficient way relaxes the platform requirement of having Xinerama available.
This allows using Nokia N9 MeeGo out of the box.
Diffstat (limited to 'make/stub_includes')
-rw-r--r-- | make/stub_includes/x11/window-lib.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/make/stub_includes/x11/window-lib.c b/make/stub_includes/x11/window-lib.c index 7b6da3c65..bc5df4ae4 100644 --- a/make/stub_includes/x11/window-lib.c +++ b/make/stub_includes/x11/window-lib.c @@ -8,6 +8,8 @@ #define _Xconst const #endif /* _Xconst */ +#include <XineramaHelper.h> + extern intptr_t XSynchronize(Display *display, Bool onoff); extern int XFlush(Display *display); @@ -52,9 +54,6 @@ extern int XFree( void* /* data */ ); -// 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( |