Removed a function we don't call anymore. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Mon, 13 Aug 2012 19:36:36 -0400
branchSDL-1.2
changeset 6395 c24bdfd6c595
parent 6366 4488c8602961
child 6396 b1c1b7ac4b39
Removed a function we don't call anymore.
src/video/x11/SDL_x11modes.c
src/video/x11/SDL_x11modes_c.h
--- a/src/video/x11/SDL_x11modes.c	Wed Jul 18 14:14:55 2012 -0700
+++ b/src/video/x11/SDL_x11modes.c	Mon Aug 13 19:36:36 2012 -0400
@@ -972,15 +972,6 @@
     return(1);
 }
 
-void X11_QueueEnterFullScreen(_THIS)
-{
-    switch_waiting = 0x01 | SDL_FULLSCREEN;
-    switch_time = SDL_GetTicks() + 1500;
-#if 0 /* This causes a BadMatch error if the window is iconified (not needed) */
-    XSetInputFocus(SDL_Display, WMwindow, RevertToNone, CurrentTime);
-#endif
-}
-
 int X11_EnterFullScreen(_THIS)
 {
     int okay;
--- a/src/video/x11/SDL_x11modes_c.h	Wed Jul 18 14:14:55 2012 -0700
+++ b/src/video/x11/SDL_x11modes_c.h	Mon Aug 13 19:36:36 2012 -0400
@@ -38,6 +38,5 @@
 extern int X11_ResizeFullScreen(_THIS);
 extern void X11_WaitMapped(_THIS, Window win);
 extern void X11_WaitUnmapped(_THIS, Window win);
-extern void X11_QueueEnterFullScreen(_THIS);
 extern int X11_EnterFullScreen(_THIS);
 extern int X11_LeaveFullScreen(_THIS);