diff options
author | TheKodeToad <TheKodeToad@proton.me> | 2023-07-21 11:02:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-21 11:02:57 +0100 |
commit | 0be4db30eb98f65543b30d6a2d970ef1df64633b (patch) | |
tree | 2135c398f3d01816a0f508dd5e29e155625793cc /flatpak/patches/0007-Platform-Prefer-Wayland-over-X11.patch | |
parent | 4c6929038159a29c437b30616daa0b2672531e4d (diff) | |
parent | 821dd8400b1a27ab1f932200bfa77d7a04edef5d (diff) | |
download | PrismLauncher-0be4db30eb98f65543b30d6a2d970ef1df64633b.tar.gz PrismLauncher-0be4db30eb98f65543b30d6a2d970ef1df64633b.tar.bz2 PrismLauncher-0be4db30eb98f65543b30d6a2d970ef1df64633b.zip |
Merge branch 'PrismLauncher:develop' into better-component-installation
Diffstat (limited to 'flatpak/patches/0007-Platform-Prefer-Wayland-over-X11.patch')
-rw-r--r-- | flatpak/patches/0007-Platform-Prefer-Wayland-over-X11.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/flatpak/patches/0007-Platform-Prefer-Wayland-over-X11.patch b/flatpak/patches/0007-Platform-Prefer-Wayland-over-X11.patch new file mode 100644 index 00000000..4eeb8130 --- /dev/null +++ b/flatpak/patches/0007-Platform-Prefer-Wayland-over-X11.patch @@ -0,0 +1,20 @@ +diff --git a/src/platform.c b/src/platform.c +index c5966ae7..3e7442f9 100644 +--- a/src/platform.c ++++ b/src/platform.c +@@ -49,12 +49,12 @@ static const struct + #if defined(_GLFW_COCOA) + { GLFW_PLATFORM_COCOA, _glfwConnectCocoa }, + #endif +-#if defined(_GLFW_X11) +- { GLFW_PLATFORM_X11, _glfwConnectX11 }, +-#endif + #if defined(_GLFW_WAYLAND) + { GLFW_PLATFORM_WAYLAND, _glfwConnectWayland }, + #endif ++#if defined(_GLFW_X11) ++ { GLFW_PLATFORM_X11, _glfwConnectX11 }, ++#endif + }; + + GLFWbool _glfwSelectPlatform(int desiredID, _GLFWplatform* platform) |