diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-07-18 23:48:02 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-07-18 23:48:02 +0300 |
commit | 477b72ad33c29de097585ed415e1940cc25e2b34 (patch) | |
tree | e67b296ecbfdca5a0b5a1cec1062f02add0afd58 /flatpak/patches/0007-Platform-Prefer-Wayland-over-X11.patch | |
parent | 5162203c7d31ad58fbd8eac838f48466151af389 (diff) | |
parent | 3728cbb62abf1027f6d7daaa7b3c08f15e1e8c79 (diff) | |
download | PrismLauncher-477b72ad33c29de097585ed415e1940cc25e2b34.tar.gz PrismLauncher-477b72ad33c29de097585ed415e1940cc25e2b34.tar.bz2 PrismLauncher-477b72ad33c29de097585ed415e1940cc25e2b34.zip |
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into prism_export2
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) |