Revision f442e08b sdl.c

b/sdl.c
510 510
                !ev->active.gain && !gui_fullscreen_initial_grab) {
511 511
                sdl_grab_end();
512 512
            }
513
            if (ev->active.state & SDL_APPACTIVE) {
514
                if (ev->active.gain) {
515
                    /* Back to default interval */
516
                    ds->gui_timer_interval = 0;
517
                } else {
518
                    /* Sleeping interval */
519
                    ds->gui_timer_interval = 500;
520
                }
521
            }
513 522
            break;
514 523
        default:
515 524
            break;

Also available in: Unified diff