From b1b9120bdb797b0eda78a367385b178fb711cb7c Mon Sep 17 00:00:00 2001 From: Fewtarius Date: Sun, 4 Apr 2021 09:42:49 -0400 Subject: [PATCH 1/7] 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 000000000..d912a67aa --- /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.20.1