wined3d: Make the focus window also the foreground window.

This commit is contained in:
Henri Verbeet 2010-03-17 21:59:48 +01:00 committed by Alexandre Julliard
parent a62e5a4678
commit 0838d0ab64
1 changed files with 1 additions and 1 deletions

View File

@ -1571,7 +1571,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Init3D(IWineD3DDevice *iface,
}
}
if (This->focus_window) SetFocus(This->focus_window);
if (This->focus_window) SetForegroundWindow(This->focus_window);
/* Setup the implicit swapchain. This also initializes a context. */
TRACE("Creating implicit swapchain\n");