aboutsummaryrefslogtreecommitdiff
path: root/games/zaz/disable_sdl_dga_mouse.diff
blob: 2d380e4db63e3a8e169559fc3f77090ce84a0240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -Naur zaz-1.0.0/src/main.cpp zaz-1.0.0.patched/src/main.cpp
--- zaz-1.0.0/src/main.cpp	2010-08-23 18:20:22.000000000 -0400
+++ zaz-1.0.0.patched/src/main.cpp	2023-07-03 18:52:07.366865483 -0400
@@ -60,6 +60,10 @@
     char *editorPhilename = 0;
     char *testplayPhilename = 0;
 
+    if(!getenv("SDL_VIDEO_X11_DGAMOUSE")) {
+       putenv("SDL_VIDEO_X11_DGAMOUSE=0");
+    }
+
     resReset = false;
 
     if (argc > 1)