Commit 17e8204b authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(realize_basic_faces): Block input while realizing

the faces.
parent a2272f32
......@@ -5585,6 +5585,10 @@ realize_basic_faces (f)
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 @@ realize_basic_faces (f)
success_p = 1;
}
UNBLOCK_INPUT;
return success_p;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment