Mercurial > emacs
changeset 28461:b6b552188c57
(realize_basic_faces): Block input while realizing
the faces.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sat, 01 Apr 2000 12:23:25 +0000 |
parents | 8a724c4f9928 |
children | 0b6c9ff7efe1 |
files | src/xfaces.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfaces.c Sat Apr 01 12:19:35 2000 +0000 +++ b/src/xfaces.c Sat Apr 01 12:23:25 2000 +0000 @@ -5585,6 +5585,10 @@ struct frame *f; { int success_p = 0; + + /* Block input there so that we won't be surprised by an X expose + event, for instance without having the faces set up. */ + BLOCK_INPUT; if (realize_default_face (f)) { @@ -5600,6 +5604,7 @@ success_p = 1; } + UNBLOCK_INPUT; return success_p; }