mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 19:10:37 -08:00
(EmacsFrameDestroy): Block and unblock input.
This commit is contained in:
parent
ed662bdd5d
commit
49fe12a91d
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue