Fix hiding window decorations under X11/Wayland

This commit is contained in:
Daniel Beitler 2018-07-29 10:12:07 -04:00
parent c48fa0f078
commit 8a725d3d3e

View File

@ -397,7 +397,7 @@ create_os_window(PyObject UNUSED *self, PyObject *args) {
glfwWindowHintString(GLFW_X11_INSTANCE_NAME, wm_class_name);
glfwWindowHintString(GLFW_X11_CLASS_NAME, wm_class_class);
if (OPT(x11_hide_window_decorations)) {
glfwWindowHint(GLFW_DECORATED, GLFW_TRUE);
glfwWindowHint(GLFW_DECORATED, GLFW_FALSE);
}
#endif