shithub: qk1

Download patch

ref: c1ad81772e25026e020cbf74cf61ba129b7f48f4
parent: 153e4c4c89b65e1bab94ea437ff5419f40699766
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Fri Jan 5 21:45:48 EST 2024

sdl input: disable SDL_HINT_VIDEO_WAYLAND_EMULATE_MOUSE_WARP

--- a/in_sdl.c
+++ b/in_sdl.c
@@ -167,6 +167,7 @@
 void
 IN_Init(void)
 {
+	SDL_SetHint(SDL_HINT_VIDEO_WAYLAND_EMULATE_MOUSE_WARP, "0");
 	m_raw.cb = m_raw_cb;
 	Cvar_RegisterVariable(&m_windowed);
 	Cvar_RegisterVariable(&m_filter);