aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (x_list_fonts): Keep alloca usage simple.Karl Heuer1998-06-201-1/+3
|
* (dumpglyphs): Check the case that FACE_FONT (face) isKenichi Handa1998-06-201-6/+8
| | | | | NULL. While displaing cursor with non-default face, if the variable `font' is NULL, don't set GCFont.
* (x_list_fonts): If SIZE is zero and MAXNAMES is 1, useKenichi Handa1998-06-161-6/+39
| | | | | XLoadQueryFont instead of XListFonts. (x_load_fonts): Call x_list_fonts with MAXNAMES 1.
* (XTread_socket): Accept Japanese XK keysyms.Richard M. Stallman1998-06-091-0/+1
|
* (XTread_socket): Fix second argument of x_any_window_to_frame.Richard M. Stallman1998-05-251-1/+1
|
* Include syssignal.h after lisp.h.Andreas Schwab1998-05-041-4/+4
|
* (XTwrite_glyphs): Don't advance cursor X beyond limit.Richard M. Stallman1998-05-021-5/+16
| | | | (XTcursor_to): Likewise.
* (x_display_cursor): Use FRAME_CURSOR_X_LIMIT.Richard M. Stallman1998-04-251-1/+1
|
* (x_find_ccl_program): New function.Kenichi Handa1998-04-151-0/+42
|
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-18/+44
|
* Use STRING_BYTES and SET_STRING_BYTES.Richard M. Stallman1998-03-211-2/+2
|
* (XTframe_up_to_date): Check that mouse_face_mouse_frameRichard M. Stallman1998-03-021-3/+6
| | | | | | is non-null before calling note_mouse_highlight. (x_destroy_window): If f equals mouse_face_mouse_frame, clear that, and clear mouse_face_deferred_gc too.
* (x_load_font): Use string_byte.Richard M. Stallman1998-01-091-2/+2
|
* (x_display_cursor): Abort if X or Y is out of range.Richard M. Stallman1997-12-211-0/+4
|
* (x_make_frame_visible): Give dummy arg toKenichi Handa1997-11-271-1/+1
| | | | input_poll_signal.
* (XTread_socket): Check for bogus (0,0) location.Karl Heuer1997-10-251-0/+10
|
* (XTmouse_position): Handle INSIST < 0.Karl Heuer1997-10-241-2/+2
|
* (x_list_fonts): Adjusted for the name change ofKenichi Handa1997-08-221-1/+1
| | | | Valternate_fontname_alist.
* (dumpglyphs): Pay attention toKenichi Handa1997-08-101-8/+23
| | | | Vignore_relative_composition.
* (x_list_fonts): Request at least 10 fonts by XListFonts.Kenichi Handa1997-08-011-0/+4
|
* (x_list_fonts): Reject a font whose min_bounds.width is 0.Richard M. Stallman1997-07-311-15/+28
|
* (x_new_font): Follow the change in x_set_scroll_bar_width and make theRichard M. Stallman1997-07-281-1/+4
| | | | scroll bar at least 14 pixels wide.
* (x_term_init) [! HAVE_X11R5]: Don't try to use XtCvtStringToFont.Richard M. Stallman1997-07-281-0/+2
|
* (dumpglyphs): Check the dimension of FONT whileRichard M. Stallman1997-07-261-9/+28
| | | | | | | setting `byte1' and `byte2' members of *CP. (XTread_socket): Trap the BadMatch error that can occur after a XSetInputFocus if window is not visible.
* (XTread_socket) <ClientMessage>:Richard M. Stallman1997-07-201-24/+56
| | | | | | | | For wm_take_focus, use x_any_window_to_frame. Don't use FRAME_XIC if it is null, here. (dumpglyphs): Use 8-bit output to X, rather than 16-bit, if the character values permit that.
* (x_draw_box): Use scratch_cursor_gc to draw the cursorRichard M. Stallman1997-07-141-1/+16
| | | | box using the color specified by cursor_pixel.
* (dumpglyphs): Declare local variable first_ch as Lisp_Object, not int.Richard M. Stallman1997-07-121-2/+3
|
* (x_load_font): Get value of fontp->height fromRichard M. Stallman1997-07-101-4/+4
| | | | | ascent and descent members of structure font->max_bounds. (dumpglyphs): Draw background by FillSolid if a font is too short.
* (x_term_init): Don't use initializer for null_bits.Richard M. Stallman1997-07-101-1/+7
| | | | (XTread_socket) <KeyPress>: Call XFilterEvent.
* (x_list_fonts): Initialize the variable LIST to Qnil.Kenichi Handa1997-07-071-1/+1
|
* (x_make_frame_visible): Don't move the frameRichard M. Stallman1997-07-051-1/+1
| | | | if it was iconified--only if it was invisible.
* (x_make_frame_visible): Check has_been_visibleRichard M. Stallman1997-07-021-2/+10
| | | | field before the UNBLOCK_INPUT.
* (dumpglyphs): Use FS_LOAD_FONT.Kenichi Handa1997-06-211-17/+41
| | | | | | | (x_new_fontset): If frame F has already using FONTSET, avoid the duplicated work. Use FS_LOAD_FONT. (x_list_fonts): Call Fassoc to search Valternate_charset_table. (x_load_font): Get around a buf of XListFonts
* (x_list_fonts): fast_c_string_match_ignore_case renamed.Richard M. Stallman1997-06-091-2/+2
|
* (dumpglyph): Shift baseline for such a font that isKenichi Handa1997-06-091-14/+32
| | | | | | shorter but ascent or descent exceed the line height. For a larger font, draw a small hook at right-bottom edge instead of a rectangle.
* (process_expose_from_menu, XTread_socket):Richard M. Stallman1997-05-311-1/+5
| | | | | Set has_been_visible field. (x_make_frame_visible): Don't do XMoveWindow unles has_been_visible.
* (x_load_font): Use macro FONT_ENCODING_NOT_DECIDED.Richard M. Stallman1997-05-311-8/+10
|
* (XTread_socket) <ConfigureNotify>: Don't callRichard M. Stallman1997-05-281-19/+16
| | | | | | | x_wm_set_size_hint if window has no parent yet. Simplify the call to x_real_positions. (x_make_frame_visible): Use win_gravity to decide whether to call XMoveWindow. Also, don't do it if frame already visible.
* (XTread_socket) <UnmapNotify>: Don't make an inconify_eventRichard M. Stallman1997-05-271-17/+42
| | | | | | | when frame was made invisible. (x_make_frame_visible): Put the call to x_set_offset back as it was. Near the end, instead call XMoveWindow, but only if original positions were not negative.
* (x_make_frame_visible): Call x_set_offset only afterRichard M. Stallman1997-05-261-66/+69
| | | | | | | | | | | mapping the window and accepting input. (x_calc_absolute_position): Do nothing if current position is already for the top-left corner. Handle errors in XTranslateCoordinates. (XTread_socket): Simplify handling of ConfigureNotify events. Always call x_wm_set_size_hint for them. No need to call XTranslateCoordinates here. (x_clear_errors): New function.
* (x_load_font): Set 4 instead of -1 in fontp->encoding[1]Kenichi Handa1997-05-191-7/+7
| | | | for the meaning of `can't decided'.
* (dumpglyphs): Draw glyphs one by one if the font forKenichi Handa1997-05-161-5/+5
| | | | | | them is narrower than required. (x_connection_closed): Put # at the beginning of line. (x_load_font): Cast to (char *) before assigning to FONTNAME.
* (dumpglyphs): Even if font (not fontset) is used,Kenichi Handa1997-05-101-14/+25
| | | | | display Latin1 characters correctly if the font contains glyphs for them. Fix bug of displaying cursor on a composite character.
* (XTmouse_position, x_term_init):Richard M. Stallman1997-05-011-125/+159
| | | | | | | | | | | | | | | | Save value of x_catch_errors and pass to x_uncatch_errors. (x_catch_errors): Use specpdl so can be nested. Use a Lisp string to as the buffer for the X message. (x_uncatch_errors, x_had_errors_p, x_check_errors): Related changes. (x_catch_errors_unwind): New function. (x_error_quitter): Call x_error_catcher if appropriate. (x_error_message_string): New variable. (syms_of_xterm): Defvar it. (x_caught_error_message): Variable deleted. (X_ERROR_MESSAGE_SIZE): Renamed from X_CAUGHT_ERROR_MESSAGE_SIZE. (x_error_handler): New function, calls x_error_quitter or ..._checker. (x_initialize): Use x_error_handler as error handler for X.
* Fix previous change.Richard M. Stallman1997-04-271-2/+2
|
* (x_destroy_window): Free saved_menu_event, if any.Richard M. Stallman1997-04-271-0/+3
|
* (x_set_offset): Turn off the code that added the border_widthRichard M. Stallman1997-04-201-3/+6
| | | | to modified_left and modified_top; it seems incorrect to do that.
* (construct_menu_click, note_mouse_highlight, fast_find_position):Karl Heuer1997-04-101-5/+6
| | | | Fix Lisp_Object/integer confusion.
* (dumpglyphs): Clip and highlight glyphs displayed withKenichi Handa1997-04-071-16/+16
| | | | fonts of wrong size.
* (XTread_socket): Accept XK_ISO_* keys.Richard M. Stallman1997-03-221-1/+1
|