31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
From 7c4b7b8f46a3d688fe34c30741e260fa08a70813 Mon Sep 17 00:00:00 2001
|
|
From: Fewtarius <fewtarius@gmail.com>
|
|
Date: Sun, 4 Apr 2021 09:42:49 -0400
|
|
Subject: [PATCH] Split V and P/M
|
|
|
|
---
|
|
.../packages/SDL2/patches/0003-no-cursor.patch | 12 ++++++++++++
|
|
1 file changed, 12 insertions(+)
|
|
create mode 100644 projects/Rockchip/devices/RG351P/packages/SDL2/patches/0003-no-cursor.patch
|
|
|
|
diff --git a/projects/Rockchip/devices/RG351P/packages/SDL2/patches/0003-no-cursor.patch b/projects/Rockchip/devices/RG351P/packages/SDL2/patches/0003-no-cursor.patch
|
|
new file mode 100644
|
|
index 00000000..d912a67a
|
|
--- /dev/null
|
|
+++ b/projects/Rockchip/devices/RG351P/packages/SDL2/patches/0003-no-cursor.patch
|
|
@@ -0,0 +1,12 @@
|
|
+diff -rupN SDL2-2.0.10.orig/src/events/SDL_mouse.c SDL2-2.0.10.new/src/events/SDL_mouse.c
|
|
+--- SDL2-2.0.10.orig/src/events/SDL_mouse.c 2019-07-25 00:32:36.000000000 -0400
|
|
++++ SDL2-2.0.10.new/src/events/SDL_mouse.c 2021-01-08 19:35:14.792357252 -0500
|
|
+@@ -158,7 +158,7 @@ SDL_MouseInit(void)
|
|
+
|
|
+ mouse->was_touch_mouse_events = SDL_FALSE; /* no touch to mouse movement event pending */
|
|
+
|
|
+- mouse->cursor_shown = SDL_TRUE;
|
|
++ mouse->cursor_shown = SDL_FALSE;
|
|
+
|
|
+ return (0);
|
|
+ }
|
|
--
|
|
2.25.1
|
|
|