744 int fb_hWin32SetWindowPos(int x, int y)
745 {
746 RECT rect;
747
748 if (fb_win32.flags & DRIVER_FULLSCREEN)
749 return 0;
750
751 GetWindowRect(fb_win32.wnd, &rect);
752 if (x == 0x80000000)
753 x = rect.left;
754 if (y == 0x80000000)
755 y = rect.top;
756 SetWindowPos(fb_win32.wnd, HWND_TOP, x, y, rect.right - rect.left, rect.bottom - rect.top,
757 SWP_ASYNCWINDOWPOS | SWP_NOOWNERZORDER | SWP_NOSIZE | SWP_NOZORDER);
758
759 return (rect.left & 0xFFFF) | (rect.top << 16);
760 }




'fixed
744 int fb_hWin32SetWindowPos(int x, int y)
745 {
746 RECT rect;
747
748 if (fb_win32.flags & DRIVER_FULLSCREEN)
749 return 0;
750
751 GetWindowRect(fb_win32.wnd, &rect);
752 if (x == 0x80000000)
753 x = rect.left;
754 if (y == 0x80000000)
755 y = rect.top;
if ((x != 0x80000000) && (y != 0x80000000))
756 SetWindowPos(fb_win32.wnd, HWND_TOP, x, y, rect.right - rect.left, rect.bottom - rect.top,
757 SWP_ASYNCWINDOWPOS | SWP_NOOWNERZORDER | SWP_NOSIZE | SWP_NOZORDER);
758
759 return (rect.left & 0xFFFF) | (rect.top << 16);
760 }