From 327f79093e448b7e2ee91bffa5f60bb8f44f7d57 Mon Sep 17 00:00:00 2001 From: Lars Doucet Date: Fri, 8 Jan 2016 11:09:16 -0600 Subject: [PATCH] Fix dual-monitor support on Linux Fixes this issue in OpenFL: https://github.com/openfl/lime/issues/667 --- include/configs/linux/SDL_config.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/configs/linux/SDL_config.h b/include/configs/linux/SDL_config.h index 0cb03b2..0a24bae 100644 --- a/include/configs/linux/SDL_config.h +++ b/include/configs/linux/SDL_config.h @@ -273,16 +273,16 @@ #define SDL_VIDEO_DRIVER_X11_DYNAMIC "libX11.so.6" #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "libXext.so.6" /* #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR */ -/* #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA */ +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "libXinerama.so.1" #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 "libXi.so.6" -/* #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR */ +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "libxrandr.so.2" /* #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS */ /* #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE */ /* #undef SDL_VIDEO_DRIVER_X11_XCURSOR */ -/* #undef SDL_VIDEO_DRIVER_X11_XINERAMA */ +#define SDL_VIDEO_DRIVER_X11_XINERAMA 1 #define SDL_VIDEO_DRIVER_X11_XINPUT2 NATIVE_TOOLKIT_SDL_X11_XINPUT2 #define SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH NATIVE_TOOLKIT_SDL_X11_XINPUT2_SUPPORTS_MULTITOUCH -/* #undef SDL_VIDEO_DRIVER_X11_XRANDR */ +#define SDL_VIDEO_DRIVER_X11_XRANDR 1 /* #undef SDL_VIDEO_DRIVER_X11_XSCRNSAVER */ #define SDL_VIDEO_DRIVER_X11_XSHAPE 1 /* #undef SDL_VIDEO_DRIVER_X11_XVIDMODE */