summarylogtreecommitdiffstats
path: root/floating_wm_workaround.patch
blob: 64c4fcc0e2202a658b7827b2a7da7e8412683619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/window.cpp b/src/window.cpp
index 7b5eb06..d3f6a09 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -416,6 +416,9 @@ void initGL (glm::ivec4 &_viewport, WindowStyle _style) {
         else if (_style == ALLWAYS_ON_TOP)
             glfwWindowHint(GLFW_FLOATING, GL_TRUE);
 
+        // Make it float
+        glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
+
         if (_style == FULLSCREEN) {
             GLFWmonitor* monitor = glfwGetPrimaryMonitor();
             const GLFWvidmode* mode = glfwGetVideoMode(monitor);