aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix
diff options
context:
space:
mode:
Diffstat (limited to 'code/unix')
-rw-r--r--code/unix/linux_glimp_sdl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/code/unix/linux_glimp_sdl.c b/code/unix/linux_glimp_sdl.c
index bc49cef..8eba4f4 100644
--- a/code/unix/linux_glimp_sdl.c
+++ b/code/unix/linux_glimp_sdl.c
@@ -386,6 +386,9 @@ static void HandleEvents(void)
Sys_QueEvent( t, SE_KEY, K_MOUSE1 + b, qfalse, 0, NULL );
}
break;
+ case SDL_QUIT:
+ Sys_Quit();
+ break;
}
}
}