WinRT: Line ending fixes (CRLF to LF)
authorDavid Ludwig <dludwig@pobox.com>
Mon, 24 Mar 2014 22:12:38 -0400
changeset 86787149b02f106b
parent 8677 ce3c968f7340
child 8679 dd52820b7f5c
WinRT: Line ending fixes (CRLF to LF)
src/core/winrt/SDL_winrtapp_direct3d.cpp
     1.1 --- a/src/core/winrt/SDL_winrtapp_direct3d.cpp	Mon Mar 24 11:42:09 2014 -0300
     1.2 +++ b/src/core/winrt/SDL_winrtapp_direct3d.cpp	Mon Mar 24 22:12:38 2014 -0400
     1.3 @@ -557,12 +557,12 @@
     1.4  
     1.5          if (args->Visible) {
     1.6              SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_SHOWN, 0, 0);
     1.7 -            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_FOCUS_GAINED, 0, 0);
     1.8 -            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_RESTORED, 0, 0);
     1.9 +            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_FOCUS_GAINED, 0, 0);
    1.10 +            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_RESTORED, 0, 0);
    1.11          } else {
    1.12              SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_HIDDEN, 0, 0);
    1.13 -            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_FOCUS_LOST, 0, 0);
    1.14 -            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_MINIMIZED, 0, 0);
    1.15 +            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_FOCUS_LOST, 0, 0);
    1.16 +            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_MINIMIZED, 0, 0);
    1.17          }
    1.18  
    1.19          // HACK: Prevent SDL's window-hide handling code, which currently