diff options
Diffstat (limited to 'src/xfns.c')
| -rw-r--r-- | src/xfns.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index 45bea1e4ec2..ae5858ccfb5 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -3347,7 +3347,9 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 3347 | #ifdef USE_LUCID | 3347 | #ifdef USE_LUCID |
| 3348 | /* Prevent lwlib/xlwmenu.c from crashing because of a bug | 3348 | /* Prevent lwlib/xlwmenu.c from crashing because of a bug |
| 3349 | whereby it fails to get any font. */ | 3349 | whereby it fails to get any font. */ |
| 3350 | BLOCK_INPUT; | ||
| 3350 | xlwmenu_default_font = XLoadQueryFont (FRAME_X_DISPLAY (f), "fixed"); | 3351 | xlwmenu_default_font = XLoadQueryFont (FRAME_X_DISPLAY (f), "fixed"); |
| 3352 | UNBLOCK_INPUT; | ||
| 3351 | #endif | 3353 | #endif |
| 3352 | 3354 | ||
| 3353 | /* Frame contents get displaced if an embedded X window has a border. */ | 3355 | /* Frame contents get displaced if an embedded X window has a border. */ |
| @@ -3421,7 +3423,7 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 3421 | init_frame_faces (f); | 3423 | init_frame_faces (f); |
| 3422 | 3424 | ||
| 3423 | x_default_parameter (f, parms, Qmenu_bar_lines, make_number (1), | 3425 | x_default_parameter (f, parms, Qmenu_bar_lines, make_number (1), |
| 3424 | "menuBar", "MenuBar", RES_TYPE_NUMBER); | 3426 | "menuBar", "MenuBar", RES_TYPE_BOOLEAN_NUMBER); |
| 3425 | x_default_parameter (f, parms, Qtool_bar_lines, make_number (1), | 3427 | x_default_parameter (f, parms, Qtool_bar_lines, make_number (1), |
| 3426 | "toolBar", "ToolBar", RES_TYPE_NUMBER); | 3428 | "toolBar", "ToolBar", RES_TYPE_NUMBER); |
| 3427 | x_default_parameter (f, parms, Qbuffer_predicate, Qnil, | 3429 | x_default_parameter (f, parms, Qbuffer_predicate, Qnil, |