diff options
Diffstat (limited to 'sdl.c')
-rw-r--r-- | sdl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -524,9 +524,11 @@ static void sdl_refresh(DisplayState *ds) if (ev->active.gain) { /* Back to default interval */ ds->gui_timer_interval = 0; + ds->idle = 0; } else { /* Sleeping interval */ ds->gui_timer_interval = 500; + ds->idle = 1; } } break; |