Skip to content

Commit

Permalink
after pause, help cleanup keyboard state
Browse files Browse the repository at this point in the history
  • Loading branch information
joncampbell123 committed Mar 23, 2015
1 parent a89b773 commit 1266d40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/sdlmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,9 @@ void PauseDOSBox(bool pressed) {
void GFX_UpdateSDLCaptureState();
GFX_UpdateSDLCaptureState();

KEYBOARD_ClrBuffer();
GFX_LosingFocus();

// redraw screen (ex. fullscreen - pause - alt+tab x2 - unpause)
if (sdl.draw.callback) (sdl.draw.callback)( GFX_CallBackReset );
}
Expand Down

0 comments on commit 1266d40

Please sign in to comment.