summarylogtreecommitdiffstats
path: root/floating_wm_workaround.patch
blob: 31972a18325fd33990eccb4023971d9e45e217d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/app.cpp b/src/app.cpp
index 35d06a3..3e33eb7 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -175,6 +175,9 @@ void initGL (glm::ivec4 &_viewport, bool _headless) {
             glfwWindowHint(GLFW_VISIBLE, GLFW_FALSE);
         }
 
+        // Make it float
+        glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
+
         window = glfwCreateWindow(_viewport.z, _viewport.w, appTitle.c_str(), NULL, NULL);
         
         if(!window) {