Fixed WM_WINDOWPOSCHANGED coordinate bug.

This commit is contained in:
Ioannis Tsakpinis 2014-06-17 21:05:23 +03:00
parent 85b7a2f5bb
commit 5cf86767bb
1 changed files with 2 additions and 2 deletions

View File

@ -1113,8 +1113,8 @@ final class WindowsDisplay implements DisplayImplementation {
case WM_WINDOWPOSCHANGED:
if(getWindowRect(hwnd, rect_buffer)) {
rect.copyFromBuffer(rect_buffer);
x = rect.top;
y = rect.bottom;
x = rect.left;
y = rect.top;
} else {
LWJGLUtil.log("WM_WINDOWPOSCHANGED: Unable to get window rect");
}