1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
Commit Graph

358 Commits

Author SHA1 Message Date
Kenichi Handa
f78798dfeb (dumpglyphs): Pay attention to characters registered in
use-default-ascent.
Fill background in advance if font has
non-zero _MULE_BASELINE_OFFSET property.
(x_load_font, x_term_init): Handle font property _MULE_DEFAULT_ASCENT.
1997-02-27 06:53:04 +00:00
Karl Heuer
dc43ef945f Include charset.h, ccl.h, and fontset.h.
(PER_CHAR_METRIC): New macro.
(dumpglyphs): New argument CMPCHARP.  Handle multibyte characters.
(XTwrite_glyphs, redraw_previous_char, redraw_following_char):
Supply argument CMPCHARP to dumpglyphs.
(dumprectangle): Display whole glyph of wide-column characters.
Supply argument CMPCHARP to dumpglyphs.
(show_mouse_face): Supply argument CMPCHARP to dumpglyphs.
(x_draw_box): Pay attention to wide-column characters.
(x_draw_single_glyph): Supply argument CMPCHARP to dumpglyphs.
(x_new_font): Call fs_load_font for actual font loading work.
(x_new_fontset): New function.
(x_get_font_info, x_list_fonts, x_load_font, x_query_font): New
functions providing API to fontset handler.
(x_term_init): Initialize several new members of struct x_display_info.
1997-02-20 06:59:25 +00:00
Richard M. Stallman
eefe909628 (dumpglyphs): Declare g as GLYPH. 1997-01-20 08:08:13 +00:00
Richard M. Stallman
1e6bc770bd (x_iconify_frame): Clear visible when we set iconified. 1996-12-26 21:07:30 +00:00
Richard M. Stallman
e687d06efa (cancel_mouse_face): New function. Code copied from
x_set_window_size, fixing a bug.
(x_set_window_size): Use cancel_mouse_face.
(XTread_socket): When frame size has changed, call cancel_mouse_face.
1996-10-31 22:05:51 +00:00
Richard M. Stallman
1cf4a0d1a2 (XTread_socket, KeyPress case): Clear compose_status
if the key has the meta modifier.
1996-10-30 05:09:38 +00:00
Richard M. Stallman
549b29ac9a (XTwrite_glyphs, XTclear_end_of_line, XTclear_frame)
(clear_cursor, x_display_bar_cursor, x_display_box_cursor)
(x_set_window_size): Use phys_cursor_on field in frame.
(x_update_cursor): Negative phys_cursor_x no longer means anything.
1996-10-12 16:06:40 +00:00
Richard M. Stallman
2729a2b5d8 (show_mouse_face): Undo 1996-08-30 change. 1996-09-29 01:29:41 +00:00
Richard M. Stallman
e84e14c381 (XTflash): Don't flash in the internal borders.
or between a scroll bar and the edge.

(XTflash): Flash just top and bottom screen line.

(XTread_socket): Finish previous change.
1996-09-27 07:46:54 +00:00
Richard M. Stallman
f66868bad1 (XTread_socket): Delete WAITP arg. 1996-09-25 08:00:39 +00:00
Richard M. Stallman
3cbd2e0ba0 (x_scroll_bar_create, x_scroll_bar_move):
(x_scroll_bar_expose): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM.

(XTchange_line_highlight, dumpglyphs, XTclear_end_of_line)
(do_line_dance, pixel_to_glyph_coords): Use FRAME_WINDOW_WIDTH.

(x_scroll_bar_move, x_scroll_bar_create):
Add a border around the actual window.

(x_scroll_bar_expose): Don't trim the width here.
1996-09-23 04:44:15 +00:00
Richard M. Stallman
d9cdbb3d95 Pass frame arg in calls to VERTICAL_SCROLL_BAR_INSIDE_HEIGHT
and VERTICAL_SCROLL_BAR_TOP_RANGE.

(XTclear_end_of_line): Shift end-of-line when there is a
left-side scroll bar by FRAME_LEFT_SCROLL_BAR_WIDTH.
(do_line_dance): Take into account the width of a left-side scroll bar.
(dumprectangle): Trim at FRAME_EXTERNAL_WIDTH instead of FRAME_WIDTH.
(fast_find_position): Use new macro WINDOW_LEFT_MARGIN.
(show_mouse_face): Likewise.
(x_scroll_bar_set_handle): VERTICAL_SCROLL_BAR_INSIDE_WIDTH now
requires the frame as an argument.
(x_scroll_bar_expose): Narrow the box slightly for a left-side scroll bar.
1996-09-21 00:57:20 +00:00
Karl Heuer
6df54671fd Replaced symbol BSD with BSD_SYSTEM. 1996-09-17 03:43:54 +00:00
Richard M. Stallman
bade65fd57 (note_mouse_highlight): Test last_overlay_modified field. 1996-09-16 06:31:10 +00:00
Richard M. Stallman
adabc3a9af (x_connection_closed): Call XtCloseDisplay. 1996-09-13 17:03:29 +00:00
Richard M. Stallman
2ef60670b3 (note_mouse_highlight): Pass POS argument to fast_find_position as int. 1996-09-04 03:38:40 +00:00
Richard M. Stallman
2218e4d9c4 (x_term_init): Initialize Xatom_FONT member.
(x_new_font): Use Xatom_FONT member.
1996-09-01 20:49:29 +00:00
Richard M. Stallman
aa8bff2e10 (XTupdate_end): Always clear mouse_face_defer flag. 1996-08-31 02:44:14 +00:00
Richard M. Stallman
d1bc41829a (do_line_dance, dumprectangle): Use x_update_cursor.
(show_mouse_face, clear_cursor): Likewise.
(x_display_cursor): New args X and Y.
(XTupdate_end, XTcursor_to, XTwrite_glyphs): Pass new args.
(XTupdate_begin): Initialize curs_x, curs_y here.
1996-08-30 18:49:07 +00:00
Richard M. Stallman
531483fbd3 (XTread_socket): Call XFilterEvent on all events,
if HAVE_X_I18N and FRAME_XIC nonzero.
1996-08-29 06:22:28 +00:00
Richard M. Stallman
e932d73def (fast_find_position): Fix previous change. 1996-08-25 23:31:20 +00:00
Richard M. Stallman
f61f515836 (fast_find_position): Minor fix in handling maybe_next_line. 1996-08-25 17:48:32 +00:00
Richard M. Stallman
51b592fb33 (x_term_init): If the default Xt font does not exist on
the X server, add a resource so that dialog boxes use a common font.
1996-08-24 00:03:22 +00:00
Richard M. Stallman
30e671c33f (XTread_socket): Delete the code to pass menu bar keys
to the toolkit alone.
(XTread_socket): Don't fail to pass button events to toolkit.
1996-07-31 17:18:54 +00:00
Richard M. Stallman
0a43f75b23 (XTread_socket): Delete the code to pass menu bar keys
to the toolkit alone.
1996-07-31 16:52:52 +00:00
Richard M. Stallman
2237cac949 (XTread_socket): Pass keys in menu bar to toolkit alone
only for Motif.

(XTread_socket): Fixing previous change:
Clear last_mouse_press_frame on non-menu-bar ButtonPress.
Always use last_mouse_press_frame as frame for ButtonRelease.
But ignore the event if frame's output_data.x is null.
Save the ButtonRelease only if USE_MOTIF.
(last_mouse_press_frame): This is now a Lisp object.
(syms_of_xterm): Initialize and staticpro it.
1996-07-30 21:10:40 +00:00
Richard M. Stallman
f10ded1cc3 Fix previous change. 1996-07-28 00:42:14 +00:00
Richard M. Stallman
ce89ef46f6 (last_mouse_press_frame): New variable.
(XTread_socket): Store a saved_button_event for ButtonRelease.
1996-07-27 20:30:31 +00:00
Karl Heuer
8805890a41 (SET_SAVED_MENU_EVENT): New macro.
(SET_SAVED_BUTTON_EVENT, SET_SAVED_KEY_EVENT): New macros.
(XTread_socket): Use them.
1996-07-16 06:10:35 +00:00
Karl Heuer
7723570dc0 (XTread_socket): Add #ifdef for previous change. 1996-07-11 23:24:03 +00:00
Karl Heuer
aaca4aca35 Undo previous change.
(XTread_socket): Better way to avoid sending toolkit-specific
events to Emacs.
1996-07-07 22:58:51 +00:00
Miles Bader
b40f815a56 (XTread_socket): Use lw_tookit_related_event_p to avoid sending
toolkit-specific events to Emacs.
1996-07-04 05:46:05 +00:00
Richard M. Stallman
aa4d9a9e9b (x_connection_closed): Call clear_waiting_for_input. 1996-06-27 23:20:46 +00:00
Richard M. Stallman
0a0fdc7099 (x_error_quitter): Delete newline from sprintf string. 1996-06-27 00:25:07 +00:00
Richard M. Stallman
f000f5c5ac (XTread_socket, Xatom_wm_save_yourself clause):
Don't call XSetCommand if f is 0.
1996-06-26 18:16:08 +00:00
Richard M. Stallman
f8d07b62cc (x_connection_closed): Add newline when printing error message on stderr. 1996-06-26 17:45:28 +00:00
Richard M. Stallman
f60f910890 (x_connection_signal): Just return after calling `signal'.
(X_CONNECTION_LOCK_FLAG): Definition deleted.
(x_connection_signal_dpyinfo): Variable deleted.
(x_connection_signal_1): Function deleted.
(x_connection_close_if_hung): Function deleted.
1996-06-26 17:41:44 +00:00
Richard M. Stallman
0e81d8cdcc (x_connection_closed): If waiting_for_input, call quit_throw_to_read_char. 1996-06-25 00:32:51 +00:00
Richard M. Stallman
9cf30a30a8 (x_iconify_frame): If frame is invisible, explicitly mark it as iconified. 1996-06-21 15:29:55 +00:00
Richard M. Stallman
0cd6403b4b (XTread_socket): Use XtAppNextEvent when using toolkit configurations. 1996-06-10 17:32:13 +00:00
Karl Heuer
805288011b [SOLARIS2]: Include string.h. 1996-05-25 23:37:13 +00:00
Richard M. Stallman
ff38b71572 (x_connection_signal_1): Call x_connection_closed properly. 1996-05-10 16:05:26 +00:00
Richard M. Stallman
d2bd6bc4c1 [USE_X_TOOLKIT]: Include X11/Shell.h.
(x_wm_set_icon_pixmap) [USE_X_TOOLKIT]: Tell widget the new pixmap.
1996-04-30 19:40:56 +00:00
Richard M. Stallman
b80c363eee (x_scroll_bar_clear): Do nothing if frame now has no scroll bars. 1996-04-26 16:38:03 +00:00
Richard M. Stallman
ea146def5f (x_connection_signal): Call sigunblock properly. 1996-04-24 22:29:57 +00:00
Richard M. Stallman
f5bb65ecab (note_mouse_movement): Don't call XQueryPointer.
(x_scroll_bar_note_movement): Don't call XQueryPointer.

(x_new_font): Intern FONT just once for finding full name.
1996-04-18 04:03:16 +00:00
Richard M. Stallman
10537cb12d Include locale.h if HAVE_SETLOCALE.
(x_term_init): Restore LC_TIME as well as LC_NUMERIC.
1996-04-08 23:12:25 +00:00
Richard M. Stallman
333bc6d09f (x_term_init): Respecify LC_NUMERIC locale. 1996-04-05 18:17:07 +00:00
Richard M. Stallman
408be6610b (x_destroy_window): Do call XCloseIM if X11R6. 1996-04-05 16:03:20 +00:00
Richard M. Stallman
a9978dd866 (x_destroy_window) [SOLARIS2]: Don't free the IC or IM. 1996-04-02 00:34:57 +00:00