[client] main: release the grab if the host application is stopped

This commit is contained in:
Geoffrey McRae 2021-12-30 17:08:19 +11:00
parent 6f39434bdc
commit d43126f433

View file

@ -82,6 +82,7 @@ static void lgInit(void)
g_state.formatValid = false;
g_state.resizeDone = true;
core_setCursorInView(false);
if (g_cursor.grab)
core_setGrab(false);