diff --git a/VERSION b/VERSION index 067e7383..0db7ffef 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -a12-221-gd2d427b533+1 \ No newline at end of file +a12-222-g9378f69653+1 \ No newline at end of file diff --git a/client/src/main.c b/client/src/main.c index 48bd8742..b51c9e2a 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -595,6 +595,11 @@ int eventFilter(void * userdata, SDL_Event * event) updatePositionInfo(); realignGuest = true; break; + + // allow a window close event to close the application even if ignoreQuit is set + case SDL_WINDOWEVENT_CLOSE: + state.running = false; + break; } return 0; }