Fixed glfwSetWindowSize stealing focus.
This commit is contained in:
parent
0e8dace18c
commit
d937b74b8f
@ -49,6 +49,7 @@ guide in the GLFW documentation.
|
|||||||
- [Win32] Bugfix: Negative window positions were reported incorrectly
|
- [Win32] Bugfix: Negative window positions were reported incorrectly
|
||||||
- [Win32] Bugfix: The iconify callback was not triggered when switching away
|
- [Win32] Bugfix: The iconify callback was not triggered when switching away
|
||||||
from a full screen window using Alt+Tab
|
from a full screen window using Alt+Tab
|
||||||
|
- [Win32] Bugfix: Resizing a window with `glfwSetWindowSize` gave it focus
|
||||||
- [Cocoa] Added dependency on CoreVideo framework for refresh rate retrieval
|
- [Cocoa] Added dependency on CoreVideo framework for refresh rate retrieval
|
||||||
- [Cocoa] Enabled Lion full screen for resizable windowed mode windows
|
- [Cocoa] Enabled Lion full screen for resizable windowed mode windows
|
||||||
- [Cocoa] Moved to Cocoa API for application transformation and activation
|
- [Cocoa] Moved to Cocoa API for application transformation and activation
|
||||||
|
@ -1034,7 +1034,7 @@ void _glfwPlatformSetWindowSize(_GLFWwindow* window, int width, int height)
|
|||||||
|
|
||||||
SetWindowPos(window->win32.handle, HWND_TOP,
|
SetWindowPos(window->win32.handle, HWND_TOP,
|
||||||
0, 0, fullWidth, fullHeight,
|
0, 0, fullWidth, fullHeight,
|
||||||
SWP_NOOWNERZORDER | SWP_NOMOVE | SWP_NOZORDER);
|
SWP_NOACTIVATE | SWP_NOOWNERZORDER | SWP_NOMOVE | SWP_NOZORDER);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user