Mercurial > sdl-ios-xcode
diff src/video/cybergfx/SDL_cgxmodes.c @ 1361:19418e4422cb
New configure-based build system. Still work in progress, but much improved
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 16 Feb 2006 10:11:48 +0000 |
parents | c71e05b4dc2e |
children | d910939febfa |
line wrap: on
line diff
--- a/src/video/cybergfx/SDL_cgxmodes.c Fri Feb 10 07:29:08 2006 +0000 +++ b/src/video/cybergfx/SDL_cgxmodes.c Thu Feb 16 10:11:48 2006 +0000 @@ -24,7 +24,7 @@ #include "SDL_timer.h" #include "SDL_events.h" -#include "SDL_events_c.h" +#include "../../events/SDL_events_c.h" #include "SDL_cgxvideo.h" #include "SDL_cgxwm_c.h" #include "SDL_cgxmodes_c.h" @@ -272,23 +272,6 @@ CGX_DestroyWindow(this,this->screen); set_best_resolution(this, real_w,real_h); - /* Grab the mouse on the fullscreen window - The event handling will know when we become active, and then - enter fullscreen mode if we can't grab the mouse this time. - */ -#if 0 - if ( (XGrabPointer(SDL_Display, FSwindow, True, 0, - GrabModeAsync, GrabModeAsync, - FSwindow, None, CurrentTime) != GrabSuccess) || - (XGrabKeyboard(SDL_Display, WMwindow, True, - GrabModeAsync, GrabModeAsync, CurrentTime) != 0) ) { - XUnmapWindow(SDL_Display, FSwindow); - X11_WaitUnmapped(this, FSwindow); - X11_QueueEnterFullScreen(this); - return(0); - } -#endif - currently_fullscreen = 1; this->screen->flags = saved_flags;