diff --git a/library/linux/src/embedder.cc b/library/linux/src/embedder.cc index 41e36ef97..3bd1b4494 100644 --- a/library/linux/src/embedder.cc +++ b/library/linux/src/embedder.cc @@ -155,9 +155,6 @@ static void GLFWKeyCallback(GLFWwindow *window, int key, int scancode, GetSavedEmbedderState(window)->keyboard_hook_handlers) { handler->KeyboardHook(window, key, scancode, action, mods); } - if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS) { - glfwSetWindowShouldClose(window, GLFW_TRUE); - } } static bool GLFWMakeContextCurrent(void *user_data) {