Commit b898130a authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Do not activate the window when restoring the styles.

This is consistent with device_setup_fullscreen_window(), and ddraw actually has a test for this in ddrawmodes.c. (Although it doesn't actually use device_setup_fullscreen_window() until the next patch.)
parent 45cee642
......@@ -1824,7 +1824,7 @@ void device_restore_fullscreen_window(IWineD3DDeviceImpl *device, HWND window)
SetWindowLongW(window, GWL_STYLE, device->style);
SetWindowLongW(window, GWL_EXSTYLE, device->exStyle);
}
SetWindowPos(window, 0, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER);
SetWindowPos(window, 0, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOACTIVATE);
device->filter_messages = filter_messages;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment