• Henry Goffin's avatar
    win32u: Invalidate all cached keys after input. · 0e85ac17
    Henry Goffin authored
    This patch addresses an issue in Second Life and potentially other
    multi-threaded applications which process WM_KEYDOWN in one thread
    and then verify that the key is "still down" with GetAsyncKeyState
    from another thread. Wine uses a per-thread key cache, resulting
    in inconsistent views of key status. Caches are now invalidated
    when an input event is injected by the driver or via SendInput.
    0e85ac17
protocol.def 128 KB