aboutsummaryrefslogtreecommitdiff
path: root/flatpak/patches/0003-Don-t-crash-on-calls-to-focus-or-icon.patch
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-07-22 11:26:02 +0100
committerGitHub <noreply@github.com>2023-07-22 11:26:02 +0100
commit57430fd189aed592a170d597de61b3acabaaa43d (patch)
treeb3727db40fdea31d24541c0c8181c43df13e774c /flatpak/patches/0003-Don-t-crash-on-calls-to-focus-or-icon.patch
parentec85266860b7503b24ff3840fb6bf74588acc7c8 (diff)
parent6ffcfcd7e9d96ae0a2846d1cf23b27425a838709 (diff)
downloadPrismLauncher-57430fd189aed592a170d597de61b3acabaaa43d.tar.gz
PrismLauncher-57430fd189aed592a170d597de61b3acabaaa43d.tar.bz2
PrismLauncher-57430fd189aed592a170d597de61b3acabaaa43d.zip
Merge branch 'develop' into better-launch
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'flatpak/patches/0003-Don-t-crash-on-calls-to-focus-or-icon.patch')
-rw-r--r--flatpak/patches/0003-Don-t-crash-on-calls-to-focus-or-icon.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/flatpak/patches/0003-Don-t-crash-on-calls-to-focus-or-icon.patch b/flatpak/patches/0003-Don-t-crash-on-calls-to-focus-or-icon.patch
new file mode 100644
index 00000000..9130e856
--- /dev/null
+++ b/flatpak/patches/0003-Don-t-crash-on-calls-to-focus-or-icon.patch
@@ -0,0 +1,24 @@
+diff --git a/src/wl_window.c b/src/wl_window.c
+index 52d3b9eb..4ac4eb5d 100644
+--- a/src/wl_window.c
++++ b/src/wl_window.c
+@@ -2117,8 +2117,7 @@ void _glfwSetWindowTitleWayland(_GLFWwindow* window, const char* title)
+ void _glfwSetWindowIconWayland(_GLFWwindow* window,
+ int count, const GLFWimage* images)
+ {
+- _glfwInputError(GLFW_FEATURE_UNAVAILABLE,
+- "Wayland: The platform does not support setting the window icon");
++ fprintf(stderr, "!!! Ignoring Error: Wayland: The platform does not support setting the window icon\n");
+ }
+
+ void _glfwGetWindowPosWayland(_GLFWwindow* window, int* xpos, int* ypos)
+@@ -2361,8 +2360,7 @@ void _glfwRequestWindowAttentionWayland(_GLFWwindow* window)
+
+ void _glfwFocusWindowWayland(_GLFWwindow* window)
+ {
+- _glfwInputError(GLFW_FEATURE_UNAVAILABLE,
+- "Wayland: The platform does not support setting the input focus");
++ fprintf(stderr, "!!! Ignoring Error: Wayland: The platform does not support setting the input focus\n");
+ }
+
+ void _glfwSetWindowMonitorWayland(_GLFWwindow* window,