File 0005-Add-warning-about-being-an-unofficial-patch.patch of Package glfw-wayland-minecraft-cursorfix
From b1afee11a0d21b553778a58cb2b3c52fa3f1c6ec Mon Sep 17 00:00:00 2001
From: kawaiisuse <kawaiisuse@localhost.localdomain>
Date: Sat, 25 Oct 2025 16:30:15 +0300
Subject: [PATCH] Add-warning-about-being-an-unofficial-patch
---
 src/init.c | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/src/init.c b/src/init.c
index dbd5a900..4709b030 100644
--- a/src/init.c
+++ b/src/init.c
@@ -426,6 +426,12 @@ GLFWAPI int glfwInit(void)
     _glfw.initialized = GLFW_TRUE;
 
     glfwDefaultWindowHints();
+
+    fprintf(stderr, "!!! Patched GLFW from https://github.com/BoyOrigin/glfw-wayland\n"
+         "!!! If any issues with the window, or some issues with rendering, occur, "
+         "first try with the built-in GLFW, and if that solves the issue, report there first.\n"
+         "!!! Use outside Minecraft is untested, and things might break.\n");
+
     return GLFW_TRUE;
 }
 
-- 
2.51.1