• Rémi Bernon's avatar
    server: Send hardware input to the visible input desktop. · 496eed7a
    Rémi Bernon authored
    When hwnd is specified, it is because it received a direct host input,
    so switch the input desktop to match the one that is receiving it.
    
    We don't validate that the sending thread uses the same desktop as the
    target window: it may not even be the case for drivers with a separate
    thread that listens on input events.
    496eed7a