wined3d: Properly handle WS_VISIBLE and WS_EX_TOPMOST style flags on fullscreen windows.
Sam Edwards
cfsworks at gmail.com
Thu Mar 28 21:31:08 CDT 2013
Note that the tests are NOT (primarily) intended to make sure that
WS_VISIBLE and WS_EX_TOPMOST are still set. The main purpose of this
patch is to fix a slightly more serious bug:
- Create a window without WS_VISIBLE.
- Create a fullscreen Direct3D device.
- wined3d applies its own flags (including WS_VISIBLE) to the window, to
make it fullscreen.
- Reset the device back to windowed mode.
- Because wined3d_device_setup_fullscreen_window didn't see the window
had WS_VISIBLE, wined3d_device_restore_fullscreen_window won't restore
the style.
This patch corrects that behavior, and the window restores back to its
original style as on Windows.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wined3d-Properly-handle-WS_VISIBLE-and-WS_EX_TOPMOST.patch
Type: text/x-patch
Size: 5961 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130328/c721148e/attachment.bin>
More information about the wine-patches
mailing list