• Show log

    Commit

  • Hash : 3905b910
    Author : Sam Lantinga
    Date : 2014-06-02T09:01:10

    Fixed bug 2479 - [OS X] SDL_SetWindowFullscreen fails to switch to windowed
    
    Eric Wasylishen
    
    The problem seems to be the spaces handling code in -setFullscreenSpace: (SDL_cocoawindow.m) is incorrectly reporting that the SDL_WINDOW_FULLSCREEN -> windowed transition has already happened.
    
    i.e. I saw this case was getting hit when trying to leave SDL_WINDOW_FULLSCREEN:
    
    "else if (state == isFullscreenSpace) {
        return YES;  /* already there. */
    }"
    
    With the attached patch, both Control+Enter (SDL_WINDOW_FULLSCREEN toggle) and Option+Enter (SDL_WINDOW_FULLSCREEN_DESKTOP toggle) work in an sdl test app (I tried testwm2). Tested on OS X 10.9.2.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags