mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-27 04:28:52 -05:00
Added missing X command flushing.
This commit is contained in:
parent
df1c895076
commit
bbc12ade7f
|
@ -1188,6 +1188,8 @@ void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title)
|
||||||
PropModeReplace,
|
PropModeReplace,
|
||||||
(unsigned char*) title, strlen(title));
|
(unsigned char*) title, strlen(title));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
XFlush(_glfw.x11.display);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _glfwPlatformGetWindowPos(_GLFWwindow* window, int* xpos, int* ypos)
|
void _glfwPlatformGetWindowPos(_GLFWwindow* window, int* xpos, int* ypos)
|
||||||
|
@ -1322,6 +1324,7 @@ void _glfwPlatformIconifyWindow(_GLFWwindow* window)
|
||||||
}
|
}
|
||||||
|
|
||||||
XIconifyWindow(_glfw.x11.display, window->x11.handle, _glfw.x11.screen);
|
XIconifyWindow(_glfw.x11.display, window->x11.handle, _glfw.x11.screen);
|
||||||
|
XFlush(_glfw.x11.display);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _glfwPlatformRestoreWindow(_GLFWwindow* window)
|
void _glfwPlatformRestoreWindow(_GLFWwindow* window)
|
||||||
|
@ -1337,6 +1340,7 @@ void _glfwPlatformRestoreWindow(_GLFWwindow* window)
|
||||||
}
|
}
|
||||||
|
|
||||||
XMapWindow(_glfw.x11.display, window->x11.handle);
|
XMapWindow(_glfw.x11.display, window->x11.handle);
|
||||||
|
XFlush(_glfw.x11.display);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _glfwPlatformShowWindow(_GLFWwindow* window)
|
void _glfwPlatformShowWindow(_GLFWwindow* window)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user