aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index bbe0d954b99..c585515497a 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -5585,6 +5585,10 @@ realize_basic_faces (f)
5585 struct frame *f; 5585 struct frame *f;
5586{ 5586{
5587 int success_p = 0; 5587 int success_p = 0;
5588
5589 /* Block input there so that we won't be surprised by an X expose
5590 event, for instance without having the faces set up. */
5591 BLOCK_INPUT;
5588 5592
5589 if (realize_default_face (f)) 5593 if (realize_default_face (f))
5590 { 5594 {
@@ -5600,6 +5604,7 @@ realize_basic_faces (f)
5600 success_p = 1; 5604 success_p = 1;
5601 } 5605 }
5602 5606
5607 UNBLOCK_INPUT;
5603 return success_p; 5608 return success_p;
5604} 5609}
5605 5610