Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11wm.c @ 1765:c2c6ff414ef5
Fixed bug #45
Improved Xinerama support.
Added support for the SDL_VIDEO_FULLSCREEN_HEAD environment variable, currently supported on X11 Xinerama configurations.
Only use the VidMode extension on the primary head.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 04 May 2006 16:51:07 +0000 |
parents | 3ba88cb7eb1b |
children | ae9f6be81810 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11wm.c Thu May 04 13:47:19 2006 +0000 +++ b/src/video/x11/SDL_x11wm.c Thu May 04 16:51:07 2006 +0000 @@ -332,6 +332,13 @@ if ( ! SDL_Window ) { return(mode); /* Will be set later on mode switch */ } +#if SDL_VIDEO_DRIVER_X11_XINERAMA + /* FIXME: Is this okay? + if ( use_xinerama ) { + mode &= ~SDL_GRAB_FULLSCREEN; + } + */ +#endif if ( mode == SDL_GRAB_OFF ) { XUngrabPointer(SDL_Display, CurrentTime); XUngrabKeyboard(SDL_Display, CurrentTime);