# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1269056259 -32400 # Node ID 77fe45f373349cb0f616b73f5b988953b80c963c # Parent 653d35986c98e64733df6e9c98b3287b074ffe7c xfns.c (Fx_create_frame) [USE_LUCID]: Add BLOCK_INPUT around XLoadQueryFont. diff -r 653d35986c98 -r 77fe45f37334 src/ChangeLog --- a/src/ChangeLog Fri Mar 19 11:27:49 2010 -0400 +++ b/src/ChangeLog Sat Mar 20 12:37:39 2010 +0900 @@ -1,3 +1,8 @@ +2010-03-20 YAMAMOTO Mitsuharu + + * xfns.c (Fx_create_frame) [USE_LUCID]: Add BLOCK_INPUT around + XLoadQueryFont. + 2010-03-16 Kenichi Handa * coding.c (decode_coding_ccl): Fix previous change for the diff -r 653d35986c98 -r 77fe45f37334 src/xfns.c --- a/src/xfns.c Fri Mar 19 11:27:49 2010 -0400 +++ b/src/xfns.c Sat Mar 20 12:37:39 2010 +0900 @@ -3347,7 +3347,9 @@ #ifdef USE_LUCID /* Prevent lwlib/xlwmenu.c from crashing because of a bug whereby it fails to get any font. */ + BLOCK_INPUT; xlwmenu_default_font = XLoadQueryFont (FRAME_X_DISPLAY (f), "fixed"); + UNBLOCK_INPUT; #endif /* Frame contents get displaced if an embedded X window has a border. */