• Zhiyi Zhang's avatar
    win32u: Only send mouse input in ReleaseCapture() when a window is captured. · 818d9a12
    Zhiyi Zhang authored
    Fix a regression from "bb496ea8 - server: Always queue mouse messages delivered to another window."
    
    Fix ETHER VAPOR Remaster (214570) launches to black screen when the cursor is in the game window.
    
    The game calls ReleaseCapture() when handling WM_MOUSEMOVE. After bb496ea8, WM_MOUSEMOVE is always
    queued because the message window is NULL. So ReleaseCapture() ends up queuing another WM_MOUSEMOVE.
    So the game ends up handling infinite WM_MOUSEMOVE messages at startup and is not able to do anything.
    818d9a12
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE.md Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...