support SDL_WM_ToggleFullScreen when initiated by key input
Merge pull request #1564 from inolen/sdl_fullscreen_fix

support SDL_WM_ToggleFullScreen when initiated by key input