1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 05:27:45 +00:00

Ports: Update freedink's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 19:21:36 +04:30 committed by Ali Mohammad Pur
parent bf5f83907f
commit c92ec097c0
3 changed files with 34 additions and 13 deletions

View file

@ -0,0 +1,27 @@
From 53958f5cfb0efa2978bb913ffe610f7903e6c69b Mon Sep 17 00:00:00 2001
From: Brendan Coles <bcoles@gmail.com>
Date: Thu, 28 Oct 2021 11:27:43 +0000
Subject: [PATCH] Remove android-specific SDL hint
---
src/input.cpp | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/input.cpp b/src/input.cpp
index b5ae21e..b6ac494 100644
--- a/src/input.cpp
+++ b/src/input.cpp
@@ -89,10 +89,6 @@ void input_init(void)
// It also keeps the mouse within the window in software mode.
SDL_SetHint(SDL_HINT_MOUSE_RELATIVE_MODE_WARP, "1");
- // TODO: don't attempt to simulate mouse events from touch events -
- // fake mouse events often are de-centered
- SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0");
-
/* Touch devices */
{
int i;
--
2.36.1