...
This commit is contained in:
parent
ba83ce7b10
commit
75a4f45a23
@ -999,7 +999,7 @@ create_os_window(PyObject UNUSED *self, PyObject *args, PyObject *kw) {
|
||||
// Update window state
|
||||
// We do not call glfwWindowHint to set GLFW_MAXIMIZED before the window is created.
|
||||
// That would cause the window to be set to maximize immediately after creation and use the wrong initial size when restored.
|
||||
change_state_for_os_window(w, window_state);
|
||||
if (window_state != WINDOW_NORMAL) change_state_for_os_window(w, window_state);
|
||||
#ifdef __APPLE__
|
||||
// macOS: Show the window after it is ready
|
||||
glfwShowWindow(glfw_window);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user