+2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
+
+ * xfaces.c (clear_font_table): Don't free the default font of
+ a frame even if it's on another display.
+ (Finternal_set_lisp_face_attribute): Don't use XFRAME on something
+ that could be Qt.
+
2002-04-19 Juanma Barranquero <lektu@terra.es>
* indent.c (Fmove_to_column): Remove unused local variable
2002-04-19 Eli Zaretskii <eliz@is.elta.co.il>
* msdos.c (Qhbar): New variable.
- (syms_of_msdos): intern and staticpro it.
+ (syms_of_msdos): Intern and staticpro it.
(IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar'
cursor type.
(x_display_and_set_cursor): Handle the HBAR_CURSOR case.
* xfns.c (Qhbar): New variable.
- (syms_of_xfns): intern and staticpro it.
+ (syms_of_xfns): Intern and staticpro it.
(x_specified_cursor_type): Handle `hbar' cursor.
* s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is
2002-04-17 Juanma Barranquero <lektu@terra.es>
- * indent.c (Fmove_to_column): Remove unused local variable
- `end_byte'.
+ * indent.c (Fmove_to_column): Remove unused local variable `end_byte'.
2002-04-17 Eli Zaretskii <eliz@is.elta.co.il>
* w32fns.c (Fx_file_dialog): Decode file name before using.
* w32term.c (construct_drag_n_drop): Likewise.
-
+
2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
* puresize.h (BASE_PURESIZE): Increase to 830000, since we now
if (font_info->name == NULL)
continue;
- /* Don't free a default font of some frame on this display. */
+ /* Don't free a default font of some frame. */
FOR_EACH_FRAME (tail, frame)
{
struct frame *f = XFRAME (frame);
if (FRAME_WINDOW_P (f)
- && FRAME_X_DISPLAY_INFO (f) == dpyinfo
&& font_info->font == FRAME_FONT (f))
break;
}
else if (EQ (attr, QCfont))
{
#ifdef HAVE_WINDOW_SYSTEM
- if (FRAME_WINDOW_P (XFRAME (frame)))
+ if (EQ (frame, Qt) || FRAME_WINDOW_P (XFRAME (frame)))
{
/* Set font-related attributes of the Lisp face from an XLFD
font name. */