• Show log

    Commit

  • Hash : 57e08c27
    Author : Ryan C. Gordon
    Date : 2019-06-26T13:21:43

    cocoa: Check for capslock in -[NSResponder flagsChanged], not with IOKit.
    
    Using IOKit for this pops up a warning at startup on macOS 10.15 ("Catalina"),
    asking the user to authorize the app to listen to all keyboard input in the
    system, which is unacceptable.
    
    I _think_ we were using IOKit under incorrect presumptions here; the Stack
    Overflow link mentioned in it was complaining about not being able to use
    flagsChanged to differentiate between left and right mod keys, but that's not
    an issue for capslock.
    
    It's also possible this code was trying to deal with capslock changing when
    the window didn't have focus, but we handle this elsewhere now, if we didn't
    at the time.
    

  • 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