From b58059971036d2eca75c8c19c49ca1e26eb05ebd Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 9 Jul 2016 12:09:39 +0200 Subject: [PATCH] (X11) Fix 'quit' button not working --- gfx/common/x11_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/common/x11_common.c b/gfx/common/x11_common.c index b3c4f72e55..3d189891ab 100644 --- a/gfx/common/x11_common.c +++ b/gfx/common/x11_common.c @@ -419,12 +419,12 @@ bool x11_alive(void *data) case ClientMessage: if (event.xclient.window == g_x11_win && (Atom)event.xclient.data.l[0] == g_x11_quit_atom) - frontend_driver_destroy_signal_handler_state(); + frontend_driver_set_signal_handler_state(1); break; case DestroyNotify: if (event.xdestroywindow.window == g_x11_win) - frontend_driver_destroy_signal_handler_state(); + frontend_driver_set_signal_handler_state(1); break; case MapNotify: