Fixed glfwSetWindowSize stealing focus.
diff --git a/README.md b/README.md
index 7d30fa2..9414c14 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,7 @@
- [Win32] Bugfix: Negative window positions were reported incorrectly
- [Win32] Bugfix: The iconify callback was not triggered when switching away
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] Enabled Lion full screen for resizable windowed mode windows
- [Cocoa] Moved to Cocoa API for application transformation and activation
diff --git a/src/win32_window.c b/src/win32_window.c
index 32b6ff2..6803f70 100644
--- a/src/win32_window.c
+++ b/src/win32_window.c
@@ -1034,7 +1034,7 @@
SetWindowPos(window->win32.handle, HWND_TOP,
0, 0, fullWidth, fullHeight,
- SWP_NOOWNERZORDER | SWP_NOMOVE | SWP_NOZORDER);
+ SWP_NOACTIVATE | SWP_NOOWNERZORDER | SWP_NOMOVE | SWP_NOZORDER);
}
}