mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 18:22:09 +02:00
Fix hiding window decorations under X11/Wayland
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user