shithub: pt2-clone

Download patch

ref: 1ca25582e08ab0ac3872e8f7b3c9e3063d09b7dd
parent: 57ad35d78f38aec6fec980ef3542ec6561733b24
author: Olav Sørensen <olav.sorensen@live.no>
date: Tue Feb 1 12:53:38 EST 2022

Don't handle mouse click if window wasn't in focus

--- a/src/pt2_visuals.c
+++ b/src/pt2_visuals.c
@@ -2332,10 +2332,6 @@
 #endif
 #endif
 
-#if SDL_PATCHLEVEL >= 5
-	SDL_SetHint(SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH, "1");
-#endif
-
 	video.vsync60HzPresent = false;
 	if (!config.vsyncOff)
 	{