From 985773c9038f9847f9e7362f3b5fb0c8acac13a2 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 12 Oct 2007 21:06:27 +0000 Subject: Fix up multi-tty merge Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-261 Creator: Stefan Monnier --- src/xfaces.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xfaces.c') diff --git a/src/xfaces.c b/src/xfaces.c index 298e9e52d55..d3e7a105b60 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -5572,11 +5572,11 @@ free_realized_face (f, face) free_face_fontset (f, face); if (face->gc) { + BLOCK_INPUT; #ifdef USE_FONT_BACKEND if (enable_font_backend && face->font_info) font_done_for_face (f, face); #endif /* USE_FONT_BACKEND */ - BLOCK_INPUT; x_free_gc (f, face->gc); face->gc = 0; UNBLOCK_INPUT; @@ -5747,11 +5747,11 @@ clear_face_gcs (c) struct face *face = c->faces_by_id[i]; if (face && face->gc) { + BLOCK_INPUT; #ifdef USE_FONT_BACKEND if (enable_font_backend && face->font_info) font_done_for_face (c->f, face); #endif /* USE_FONT_BACKEND */ - BLOCK_INPUT; x_free_gc (c->f, face->gc); face->gc = 0; UNBLOCK_INPUT; -- cgit v1.2.1