• 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
..
dibdrv Loading commit data...
tests Loading commit data...
Makefile.in Loading commit data...
bitblt.c Loading commit data...
bitmap.c Loading commit data...
brush.c Loading commit data...
class.c Loading commit data...
clipboard.c Loading commit data...
clipping.c Loading commit data...
cursoricon.c Loading commit data...
dc.c Loading commit data...
dce.c Loading commit data...
defwnd.c Loading commit data...
dib.c Loading commit data...
driver.c Loading commit data...
emfdrv.c Loading commit data...
font.c Loading commit data...
freetype.c Loading commit data...
gdiobj.c Loading commit data...
hook.c Loading commit data...
imm.c Loading commit data...
input.c Loading commit data...
main.c Loading commit data...
mapping.c Loading commit data...
menu.c Loading commit data...
message.c Loading commit data...
ntgdi_private.h Loading commit data...
ntuser_private.h Loading commit data...
opentype.c Loading commit data...
painting.c Loading commit data...
palette.c Loading commit data...
path.c Loading commit data...
pen.c Loading commit data...
printdrv.c Loading commit data...
rawinput.c Loading commit data...
region.c Loading commit data...
scroll.c Loading commit data...
spy.c Loading commit data...
syscall.c Loading commit data...
sysparams.c Loading commit data...
systray.c Loading commit data...
vertical.c Loading commit data...
vulkan.c Loading commit data...
win32syscalls.h Loading commit data...
win32u.spec Loading commit data...
win32u_private.h Loading commit data...
window.c Loading commit data...
winstation.c Loading commit data...