Mercurial > emacs
changeset 12052:942ad27b8e10
(EmacsFrameDestroy): Block and unblock input.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 01 Jun 1995 23:37:20 +0000 |
parents | f193ce9efe24 |
children | 819934f881e4 |
files | src/widget.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <X11/StringDefs.h> #include <X11/IntrinsicP.h> @@ -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