From e243a666f1009e5497cf2d292a8fdcf567d69869 Mon Sep 17 00:00:00 2001 From: Dane Johnson Date: Sun, 17 Jan 2021 12:41:14 -0600 Subject: [PATCH] Add some window hints --- core/couch.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/couch.cpp b/core/couch.cpp index 728b07c..c13f7c8 100644 --- a/core/couch.cpp +++ b/core/couch.cpp @@ -48,6 +48,8 @@ int main() { glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); + glfwWindowHint(GLFW_FLOATING, GLFW_TRUE); + glfwWindowHintString(GLFW_X11_CLASS_NAME, "Couch"); window = glfwCreateWindow(width, height, "Couch", NULL, NULL);