aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/xkb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/xkb.c b/frontend/xkb.c
index 88dbc56..f015dd0 100644
--- a/frontend/xkb.c
+++ b/frontend/xkb.c
@@ -128,7 +128,9 @@ int x11_update_keys(unsigned int *action) {
}
if (leave) {
+ extern void OnFile_Exit();
DestroyKeyboard();
+ OnFile_Exit();
exit(1);
}