replace patch by full git patch export
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=109
This commit is contained in:
parent
71ca4d1cc6
commit
0c1a47fac3
@ -1,12 +1,23 @@
|
||||
Index: SDL2-2.0.16/src/video/wayland/SDL_waylandwindow.c
|
||||
===================================================================
|
||||
--- SDL2-2.0.16.orig/src/video/wayland/SDL_waylandwindow.c
|
||||
+++ SDL2-2.0.16/src/video/wayland/SDL_waylandwindow.c
|
||||
@@ -219,9 +219,15 @@ handle_configure_xdg_toplevel(void *data
|
||||
From ae7ee2a59c8d41d67c6bc80f25b6e52670dddbbf Mon Sep 17 00:00:00 2001
|
||||
From: Ethan Lee <flibitijibibo@gmail.com>
|
||||
Date: Wed, 11 Aug 2021 09:59:43 -0400
|
||||
References: https://github.com/libsdl-org/SDL/pull/4629
|
||||
Subject: [PATCH] wayland: Ignore stateless/sizeless configs when starting in
|
||||
fullscreen mode
|
||||
|
||||
---
|
||||
src/video/wayland/SDL_waylandwindow.c | 10 ++++++++--
|
||||
1 file changed, 8 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git src/video/wayland/SDL_waylandwindow.c src/video/wayland/SDL_waylandwindow.c
|
||||
index 025dd30ee..451d33b76 100644
|
||||
--- src/video/wayland/SDL_waylandwindow.c
|
||||
+++ src/video/wayland/SDL_waylandwindow.c
|
||||
@@ -219,9 +219,15 @@ handle_configure_xdg_toplevel(void *data,
|
||||
|
||||
/* Foolishly do what the compositor says here. If it's wrong, don't
|
||||
* blame us, we were explicitly instructed to do this.
|
||||
+ * *
|
||||
+ *
|
||||
+ * UPDATE: Nope, we can't actually do that, the compositor may give
|
||||
+ * us a completely stateless, sizeless configure, with which we have
|
||||
+ * to enforce our own state anyway.
|
||||
@ -20,3 +31,6 @@ Index: SDL2-2.0.16/src/video/wayland/SDL_waylandwindow.c
|
||||
|
||||
/* This part is good though. */
|
||||
if (window->flags & SDL_WINDOW_ALLOW_HIGHDPI) {
|
||||
--
|
||||
2.32.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user