mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 18:51:41 +02:00
...
This commit is contained in:
@@ -181,9 +181,9 @@ create_new_os_window(PyObject UNUSED *self, PyObject *args) {
|
|||||||
glfwWindowHint(GLFW_SAMPLES, 0);
|
glfwWindowHint(GLFW_SAMPLES, 0);
|
||||||
glfwSwapInterval(0); // a value of 1 makes mouse selection laggy
|
glfwSwapInterval(0); // a value of 1 makes mouse selection laggy
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
if (OPT(macos_hide_titlebar)) glfwWindowHint(GLFW_DECORATED, false)
|
if (OPT(macos_hide_titlebar)) glfwWindowHint(GLFW_DECORATED, false);
|
||||||
// OS X cannot handle 16bit stencil buffers
|
// OS X cannot handle 16bit stencil buffers
|
||||||
glfwWindowHint(GLFW_STENCIL_BITS, 8)
|
glfwWindowHint(GLFW_STENCIL_BITS, 8);
|
||||||
#else
|
#else
|
||||||
#endif
|
#endif
|
||||||
standard_cursor = glfwCreateStandardCursor(GLFW_IBEAM_CURSOR);
|
standard_cursor = glfwCreateStandardCursor(GLFW_IBEAM_CURSOR);
|
||||||
|
|||||||
Reference in New Issue
Block a user