comparison src/video/x11/SDL_x11events.c @ 88:71774090f286

Hopefully fixed the fullscreen mode code for KDE
author Sam Lantinga <slouken@lokigames.com>
date Sat, 07 Jul 2001 07:59:37 +0000
parents 4c8b9babaae4
children 53e3d8ba4321
comparison
equal deleted inserted replaced
87:3ef4bc90c388 88:71774090f286
345 X11_SwapVidModeGamma(this); 345 X11_SwapVidModeGamma(this);
346 } 346 }
347 347
348 if ( SDL_VideoSurface && 348 if ( SDL_VideoSurface &&
349 (SDL_VideoSurface->flags & SDL_FULLSCREEN) ) { 349 (SDL_VideoSurface->flags & SDL_FULLSCREEN) ) {
350 #ifdef GRAB_FULLSCREEN
351 X11_EnterFullScreen(this); 350 X11_EnterFullScreen(this);
352 #else
353 /* Queue entry into fullscreen mode */
354 switch_waiting = 0x01 | SDL_FULLSCREEN;
355 switch_time = SDL_GetTicks() + 1500;
356 #endif
357 } else { 351 } else {
358 X11_GrabInputNoLock(this, this->input_grab); 352 X11_GrabInputNoLock(this, this->input_grab);
359 } 353 }
360 X11_CheckMouseModeNoLock(this); 354 X11_CheckMouseModeNoLock(this);
361 355