summaryrefslogtreecommitdiff
path: root/games/chromium/patches/40_sdl_quit.diff
diff options
context:
space:
mode:
Diffstat (limited to 'games/chromium/patches/40_sdl_quit.diff')
-rw-r--r--games/chromium/patches/40_sdl_quit.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/chromium/patches/40_sdl_quit.diff b/games/chromium/patches/40_sdl_quit.diff
new file mode 100644
index 0000000000..ade65a6038
--- /dev/null
+++ b/games/chromium/patches/40_sdl_quit.diff
@@ -0,0 +1,13 @@
+Index: chromium-0.9.12/src/MainSDL_Event.cpp
+===================================================================
+--- chromium-0.9.12.orig/src/MainSDL_Event.cpp 2007-04-06 22:28:46.000000000 +0200
++++ chromium-0.9.12/src/MainSDL_Event.cpp 2007-04-06 22:29:28.000000000 +0200
+@@ -71,6 +71,8 @@
+ case SDL_JOYBUTTONUP:
+ joystickButtonUp(event);
+ break;
++ case SDL_QUIT:
++ return true;
+ default:
+ break;
+ }