diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 7b5737d88e6..8030bc3d649 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -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;