slackbuilds_ponce/games/zaz/disable_sdl_dga_mouse.diff
B. Watson 90f23af3d2
games/zaz: Man page, leftie mousing, new-style icons.
Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2023-07-08 16:42:06 +07:00

14 lines
428 B
Diff

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)