From 5014caee2a000ffd682f04bcbec76265b2163335 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 4 May 2009 20:07:48 +0000 Subject: Fix window close button to bring up F10 quit message. Subversion-branch: /branches/raven-branch Subversion-revision: 1506 --- src/i_video.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/i_video.c') 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 -- cgit v1.2.3