Commit fb2540f8 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Fix window rect restoring.

parent ecd30570
...@@ -954,7 +954,8 @@ void CDECL wined3d_device_restore_fullscreen_window(struct wined3d_device *devic ...@@ -954,7 +954,8 @@ void CDECL wined3d_device_restore_fullscreen_window(struct wined3d_device *devic
rect = *window_rect; rect = *window_rect;
else else
window_pos_flags |= (SWP_NOMOVE | SWP_NOSIZE); window_pos_flags |= (SWP_NOMOVE | SWP_NOSIZE);
SetWindowPos(window, 0, rect.left, rect.top, rect.right, rect.bottom, window_pos_flags); SetWindowPos(window, 0, rect.left, rect.top,
rect.right - rect.left, rect.bottom - rect.top, window_pos_flags);
device->filter_messages = filter_messages; 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