summaryrefslogtreecommitdiff
path: root/src/i_video.c
diff options
context:
space:
mode:
authorSimon Howard2009-05-04 20:07:48 +0000
committerSimon Howard2009-05-04 20:07:48 +0000
commit5014caee2a000ffd682f04bcbec76265b2163335 (patch)
treeb29dc89bc5edcaa8c9d57c9a550541689af4bec9 /src/i_video.c
parent2c7cf58786bbf80d519b02b2c112a0a2c55d898e (diff)
downloadchocolate-doom-5014caee2a000ffd682f04bcbec76265b2163335.tar.gz
chocolate-doom-5014caee2a000ffd682f04bcbec76265b2163335.tar.bz2
chocolate-doom-5014caee2a000ffd682f04bcbec76265b2163335.zip
Fix window close button to bring up F10 quit message.
Subversion-branch: /branches/raven-branch Subversion-revision: 1506
Diffstat (limited to 'src/i_video.c')
-rw-r--r--src/i_video.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/i_video.c b/src/i_video.c
index 8360ab9e..ac25e9ad 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -679,13 +679,10 @@ void I_GetEvent(void)
}
break;
-/* TODO
case SDL_QUIT:
- // bring up the "quit doom?" prompt
- S_StartSound(NULL,sfx_swtchn);
- M_QuitDOOM(0);
+ event.type = ev_quit;
+ D_PostEvent(&event);
break;
- */
case SDL_ACTIVEEVENT:
// need to update our focus state