From 774bd73602bf7933d82f391de958f6bdfdcaadec Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 31 Jan 2019 22:39:17 +0100 Subject: [PATCH] Enable to close the application within the initial Anim/Layer dialog we waited for a mouse or keyboard event but clicking the close X of the window doesn't send any... --- src/buttons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buttons.c b/src/buttons.c index bc06ed25..207ad8b0 100644 --- a/src/buttons.c +++ b/src/buttons.c @@ -178,7 +178,7 @@ void Button_Message_initial(void) Display_cursor(); - while(!Mouse_K && !Key) + while(!Mouse_K && !Key && !Quit_is_required) Get_input(20); if (Mouse_K) {