summarylogtreecommitdiffstats
path: root/floating_wm_workaround.patch
diff options
context:
space:
mode:
Diffstat (limited to 'floating_wm_workaround.patch')
-rw-r--r--floating_wm_workaround.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/floating_wm_workaround.patch b/floating_wm_workaround.patch
new file mode 100644
index 000000000000..31972a18325f
--- /dev/null
+++ b/floating_wm_workaround.patch
@@ -0,0 +1,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) {