"noquit" now disables [Esc] key for quit. Use [Sh]+[Ctrl]+[Esc].
This commit is contained in:
parent
6f0d4bbcc2
commit
85bec22673
7 changed files with 108 additions and 29 deletions
|
|
@ -2460,7 +2460,12 @@ static void mainloop(void)
|
|||
|
||||
handle_keymouse(key, SDL_KEYDOWN);
|
||||
|
||||
if (key == SDLK_ESCAPE)
|
||||
if (key == SDLK_ESCAPE && !disable_quit)
|
||||
{
|
||||
done = do_quit();
|
||||
}
|
||||
else if (key == SDLK_ESCAPE &&
|
||||
(mod & KMOD_SHIFT) && (mod & KMOD_CTRL))
|
||||
{
|
||||
done = do_quit();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue