mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-31 22:32:45 +00:00
Merge branch 'patch-2' of https://github.com/maximbaz/kitty
This commit is contained in:
commit
3830261384
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ create_os_window(PyObject UNUSED *self, PyObject *args) {
|
|||
PyErr_SetString(PyExc_ValueError, "Too many windows");
|
||||
return NULL;
|
||||
}
|
||||
bool want_semi_transparent = (1.0 - OPT(background_opacity) > 0.1) ? true : false;
|
||||
bool want_semi_transparent = (1.0 - OPT(background_opacity) >= 0.01) ? true : false;
|
||||
glfwWindowHint(GLFW_TRANSPARENT_FRAMEBUFFER, want_semi_transparent);
|
||||
GLFWwindow *glfw_window = glfwCreateWindow(width, height, title, NULL, global_state.num_os_windows ? global_state.os_windows[0].handle : NULL);
|
||||
if (glfw_window == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue