SHA256
1
0
forked from jengelh/SDL2
Jan Engelhardt 2021-08-11 16:09:53 +00:00 committed by Git OBS Bridge
parent 0c1a47fac3
commit 5527c94907
2 changed files with 12 additions and 15 deletions

View File

@ -9,11 +9,11 @@ Subject: [PATCH] wayland: Ignore stateless/sizeless configs when starting in
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,
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
/* Foolishly do what the compositor says here. If it's wrong, don't
* blame us, we were explicitly instructed to do this.
@ -31,6 +31,3 @@ index 025dd30ee..451d33b76 100644
/* This part is good though. */
if (window->flags & SDL_WINDOW_ALLOW_HIGHDPI) {
--
2.32.0

View File

@ -8,11 +8,11 @@ some symvers so that zypper knows when to upgrade SDL.
sdl2.sym | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 125 insertions(+), 1 deletion(-)
Index: SDL2-2.0.10/Makefile.in
Index: SDL2-2.0.16/Makefile.in
===================================================================
--- SDL2-2.0.10.orig/Makefile.in
+++ SDL2-2.0.10/Makefile.in
@@ -125,7 +125,7 @@ LT_AGE = @LT_AGE@
--- SDL2-2.0.16.orig/Makefile.in
+++ SDL2-2.0.16/Makefile.in
@@ -132,7 +132,7 @@ LT_AGE = @LT_AGE@
LT_CURRENT = @LT_CURRENT@
LT_RELEASE = @LT_RELEASE@
LT_REVISION = @LT_REVISION@
@ -21,10 +21,10 @@ Index: SDL2-2.0.10/Makefile.in
all: $(srcdir)/configure Makefile $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) $(objects)/$(SDLTEST_TARGET)
Index: SDL2-2.0.10/sdl2.sym
Index: SDL2-2.0.16/sdl2.sym
===================================================================
--- /dev/null
+++ SDL2-2.0.10/sdl2.sym
+++ SDL2-2.0.16/sdl2.sym
@@ -0,0 +1,124 @@
+SUSE_2.0.5 {
+global: