• Show log

    Commit

  • Hash : 53df0e66
    Author : ulatekh
    Date : 2022-01-21T17:15:18

    Fix the erroneous generation of mouse-down events from touch-move events.
    
    The issue is that MS Windows synthesizes a mouse-move event in response
    to touch-move events, and those mouse-move events are NOT labeled as
    coming from a touch (e.g. GetMouseMessageSource() will not return
    SDL_MOUSE_EVENT_SOURCE_TOUCH for those synthesized mouse-move events).
    
    In addition, there seems to be no way to prevent this from happening;
    https://gist.github.com/vbfox/1339671 claims to demonstrate a technique
    to prevent it, but in my experience, it doesn't work.
    
    Because of this, the "fallthrough" case can't test that the synthesized
    mouse-move came from a touch-move, and starts erroneously pressing down
    the mouse-button, leading to massive confusion in the client
    application.
    

  • 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