diff --git a/c/xlib/display.c b/c/xlib/display.c index 5817923..55c2302 100644 --- a/c/xlib/display.c +++ b/c/xlib/display.c @@ -55,7 +55,9 @@ s48_value scx_general_after_function_binding = S48_FALSE; static int scx_after_function_wrapper(Display* dpy) { s48_value display = scx_enter_display(dpy); s48_value fun = S48_SHARED_BINDING_REF(scx_general_after_function_binding); + s48_disable_interruptsB(); s48_call_scheme(fun, 1, display); + s48_enable_interruptsB(); return 0; }