face = realize_face (c, attrs, 0, NULL, DEFAULT_FACE_ID);
#ifdef HAVE_WINDOW_SYSTEM
- #ifdef HAVE_X_WINDOWS
+ #ifdef HAVE_X_WINDOWS
- if (face->font != FRAME_FONT (f))
+ if (FRAME_X_P (f) && face->font != FRAME_FONT (f))
/* As the font specified for the frame was not acceptable as a
font for the default face (perhaps because auto-scaled fonts
are rejected), we must adjust the frame font. */
static void x_set_window_size_1 P_ ((struct frame *, int, int, int));
static const XColor *x_color_cells P_ ((Display *, int *));
static void x_update_window_end P_ ((struct window *, int, int));
- void x_delete_display P_ ((struct x_display_info *));
static int x_io_error_quitter P_ ((Display *));
- void x_catch_errors P_ ((Display *));
- void x_uncatch_errors P_ ((void));
- void x_lower_frame P_ ((struct frame *));
- void x_scroll_bar_clear P_ ((struct frame *));
- int x_had_errors_p P_ ((Display *));
- void x_wm_set_size_hint P_ ((struct frame *, long, int));
- void x_raise_frame P_ ((struct frame *));
- void x_set_window_size P_ ((struct frame *, int, int, int));
- void x_wm_set_window_state P_ ((struct frame *, int));
- void x_wm_set_icon_pixmap P_ ((struct frame *, int));
+static struct terminal *x_create_terminal P_ ((struct x_display_info *));
+void x_delete_terminal P_ ((struct terminal *));
- void x_initialize P_ ((void));
static void x_font_min_bounds P_ ((XFontStruct *, int *, int *));
static int x_compute_min_glyph_bounds P_ ((struct frame *));
static void x_update_end P_ ((struct frame *));