-
Stefan Dösinger authored
World of Warplanes calls SetWindowLong(window, GWL_STYLE, WS_POPUP) before calling reset, effectively hiding the window. It does not call SetWindowPos(SWP_FRAMECHANGED), so the effect isn't visible and the game displays fine after the reset. However, after the next mouse click WINPOS_WindowFromPoint skips the window because it doesn't have WS_VISIBLE and returns the desktop window. This in turn triggers a focus loss and d3d9 minimizes the game. Signed-off-by: Stefan Dösinger <stefan@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
04d4584d
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
tests | ||
Makefile.in | ||
buffer.c | ||
d3d9.spec | ||
d3d9_main.c | ||
d3d9_private.h | ||
device.c | ||
directx.c | ||
query.c | ||
shader.c | ||
stateblock.c | ||
surface.c | ||
swapchain.c | ||
texture.c | ||
version.rc | ||
vertexdeclaration.c | ||
volume.c |