# HG changeset patch # User Karl Heuer # Date 802049840 0 # Node ID 942ad27b8e10ccf632e8c48be2095fb1436be034 # Parent f193ce9efe24f7a73b8862e676e769f64d63502a (EmacsFrameDestroy): Block and unblock input. diff -r f193ce9efe24 -r 942ad27b8e10 src/widget.c --- a/src/widget.c Thu Jun 01 23:23:50 1995 +0000 +++ b/src/widget.c Thu Jun 01 23:37:20 1995 +0000 @@ -27,7 +27,7 @@ #include "frame.h" #include "dispextern.h" - +#include "blockinput.h" #include #include @@ -744,10 +744,12 @@ been freed. */ free_frame_faces (s); + BLOCK_INPUT; /* need to be careful that the face-freeing code doesn't free these too */ XFreeGC (XtDisplay (widget), s->display.x->normal_gc); XFreeGC (XtDisplay (widget), s->display.x->reverse_gc); XFreeGC (XtDisplay (widget), s->display.x->cursor_gc); + UNBLOCK_INPUT; } void