Skip to content

Commit

Permalink
Shutdown game if user clicks the 'X' on his window.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 31, 2005
1 parent dee436c commit a654321
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/unix/linux_glimp_sdl.c
Expand Up @@ -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;
}
}
}
Expand Down

0 comments on commit a654321

Please sign in to comment.