diff --git a/kitty/glfw.c b/kitty/glfw.c index 82b8893bb..8d03b3ccc 100644 --- a/kitty/glfw.c +++ b/kitty/glfw.c @@ -305,14 +305,6 @@ set_should_close(WindowWrapper *self, PyObject *args) { Py_RETURN_NONE; } -static PyObject* -set_input_mode(WindowWrapper *self, PyObject *args) { - int which, value; - if (!PyArg_ParseTuple(args, "ii", &which, &value)) return NULL; - glfwSetInputMode(self->window, which, value); - Py_RETURN_NONE; -} - static PyObject* is_key_pressed(WindowWrapper *self, PyObject *args) { int c; @@ -428,7 +420,6 @@ static PyMethodDef methods[] = { MND(cocoa_window_id, METH_NOARGS), #endif MND(set_should_close, METH_VARARGS), - MND(set_input_mode, METH_VARARGS), MND(is_key_pressed, METH_VARARGS), MND(set_clipboard_string, METH_VARARGS), MND(make_context_current, METH_NOARGS),