From b7407c39c0d3785f2fc21782d31c439622f0d744 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 27 Feb 2012 18:20:37 +0100 Subject: 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. --- make/stub_includes/x11/window-lib.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'make/stub_includes/x11/window-lib.c') 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 + 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( -- cgit v1.2.3