Fix hiding window decorations under X11/Wayland
This commit is contained in:
parent
c48fa0f078
commit
8a725d3d3e
@ -397,7 +397,7 @@ create_os_window(PyObject UNUSED *self, PyObject *args) {
|
|||||||
glfwWindowHintString(GLFW_X11_INSTANCE_NAME, wm_class_name);
|
glfwWindowHintString(GLFW_X11_INSTANCE_NAME, wm_class_name);
|
||||||
glfwWindowHintString(GLFW_X11_CLASS_NAME, wm_class_class);
|
glfwWindowHintString(GLFW_X11_CLASS_NAME, wm_class_class);
|
||||||
if (OPT(x11_hide_window_decorations)) {
|
if (OPT(x11_hide_window_decorations)) {
|
||||||
glfwWindowHint(GLFW_DECORATED, GLFW_TRUE);
|
glfwWindowHint(GLFW_DECORATED, GLFW_FALSE);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user