diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-06-01 23:37:20 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-06-01 23:37:20 +0000 |
commit | dd3f00c24e66d58d79094cf79741c98637548481 (patch) | |
tree | 6f116b9fd33daf62b0acc6906f2eed5831f43456 /src/widget.c | |
parent | 420804a70b01d205cf7fa2cc9030b1f602d7e163 (diff) | |
download | emacs-dd3f00c24e66d58d79094cf79741c98637548481.tar.gz |
(EmacsFrameDestroy): Block and unblock input.
Diffstat (limited to 'src/widget.c')
-rw-r--r-- | src/widget.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widget.c b/src/widget.c index 101ca4f61f5..32daf8ffc27 100644 --- a/src/widget.c +++ b/src/widget.c @@ -27,7 +27,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "frame.h" #include "dispextern.h" - +#include "blockinput.h" #include <X11/StringDefs.h> #include <X11/IntrinsicP.h> @@ -744,10 +744,12 @@ EmacsFrameDestroy (widget) 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 |