Changes between Version 6 and Version 7 of Ticket #52210, comment 9


Ignore:
Timestamp:
Nov 2, 2016, 12:02:57 PM (8 years ago)
Author:
mojca (Mojca Miklavec)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52210, comment 9

    v6 v7  
    185185thrown by
    186186{{{
     187#!objc
    187188SDL_bool lion_or_later = floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6;
    188189...
     
    197198}
    198199}}}
    199 which can temporary be replaced by
    200 {{{
     200which can temporary/naively be replaced by
     201{{{
     202#!objc
    201203SDL_bool lion_or_later = false;
    202204}}}
     
    223225make: *** [build/SDL_cocoavideo.lo] Error 1
    224226}}}
     227from
     228{{{
     229#!objc
     230data->allow_spaces = ((floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6) && SDL_GetHintBoolean(SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES, SDL_TRUE));
     231
     232/* The IOPM assertion API can disable the screensaver as of 10.7. */
     233data->screensaver_use_iopm = floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6;
     234}}}
     235The naive approach is again
     236{{{
     237#!objc
     238data->allow_spaces = false;
     239data->screensaver_use_iopm = false;
     240}}}