1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 00:51:50 -08:00
Commit graph

779 commits

Author SHA1 Message Date
Jan Djärv
0cb35f4e5e Clear frame didn't redraw scrollbars, fixed that. 2003-03-14 19:13:17 +00:00
Andreas Schwab
a3e4741fb3 (x_term_init) [USE_GTK]: Fix typo. 2003-03-12 22:56:38 +00:00
Kim F. Storm
5958f26590 Remove generic fringe code.
(x_draw_fringe_bitmap): Only perform actual fringe drawing.
(x_redisplay_interface): Add x_draw_fringe_bitmap member.
2003-03-12 12:10:36 +00:00
Jan Djärv
257f40f267 Implement Ctrl-Mouse-2 (split vertically) for toolkit scrollbars 2003-03-09 20:43:04 +00:00
Jan Djärv
15213141e3 * xterm.c (handle_one_xevent): Pass ReparentNotify to Xt even if
the event isn't for a frame (i.e. for dialogs).
2003-03-08 10:16:04 +00:00
Jan Djärv
9d00001fc6 * xterm.c (x_detect_focus_change): Call x_any_window_to_frame
instead of x_top_window_to_frame.
2003-03-04 19:33:04 +00:00
Jan Djärv
ee5be7c3c9 * xterm.c (x_list_fonts): If maxnames is less than 0, get all font
names.

* xfaces.c (x_face_list_fonts): Allocate struct font_name here.
(sorted_font_list): Moved allocation of struct font_name to
x_face_list_fonts.
(Fx_font_family_list): Set font-list-limit to -1 to get all font names.
(Fx_list_fonts): Set maxnames to -1 to get all font names.
2003-02-18 21:30:08 +00:00
Jan Djärv
7b76ca1c43 xterm.c (x_make_frame_visible): Call gtk_window_deiconify.
xmenu.c (menu_position_func): Adjust menu popup position so that
  the menu is fully visible.
2003-02-08 11:18:32 +00:00
Jan Djärv
2436a4e491 Use FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif 2003-02-07 16:38:54 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Jan Djärv
1fcfb86611 Fix input methods for GTK.
Don't right justify GTK help menu.
2003-01-25 16:25:39 +00:00
Jan Djärv
22174d100d *** empty log message *** 2003-01-19 23:06:42 +00:00
Jan Djärv
488dd4c404 GTK version 2003-01-19 21:50:03 +00:00
Jan Djärv
bf3382455d *** empty log message *** 2003-01-08 20:06:05 +00:00
Richard M. Stallman
781d152abe (x_catch_errors): Save dpy using make_save_value.
(x_catch_errors_unwind): Call XSync.
2003-01-06 00:45:31 +00:00
Miles Bader
fce1344909 (x_draw_glyph_string_foreground)
(x_draw_composite_glyph_string_foreground): Implement overstriking.
2002-11-17 23:49:32 +00:00
Dave Love
0971e7305d (x_draw_relief_rect, x_draw_box_rect, x_update_cursor):
Declare all args (per C99).
2002-11-14 14:21:34 +00:00
Richard M. Stallman
bc4e60fc84 (x_term_init): Use turn_on_atimers, not start_polling and stop_polling. 2002-11-06 05:03:33 +00:00
Dave Love
f7706646eb (XTread_socket): Check Lisp types for Vx_keysym_table
and fix C types.
2002-11-04 14:29:04 +00:00
Dave Love
560d7ceb94 (XTread_socket): Fix last change.
(xaw_scroll_callback): Cast call_data to long to avoid warning.
2002-10-31 17:59:30 +00:00
Dave Love
dbd4b028f6 (Qeql): Declare.
(Vx_keysym_table): New.
(syms_of_xterm): Initialize it.
(XTread_socket): Use it.  Deal with ASCII keysyms.
(XSetIMValues) [HAVE_X11R6]: Prototype.
2002-10-30 19:12:37 +00:00
Kim F. Storm
1b7334a40e (note_mouse_highlight): Don't use mouse-face if hidden. 2002-10-26 23:53:07 +00:00
Kim F. Storm
e9c990273f (get_window_cursor_type): New arg ACTIVE_CURSOR.
Callers changed (supply dummy arg).
2002-10-24 19:59:14 +00:00
Juanma Barranquero
7d0393cf12 Fix typo in comment. 2002-10-18 10:09:43 +00:00
Jan Djärv
f7d4343819 * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all
cases.  The correct fix is to pass ReparentNotify to Xt.
     The shell widget interprets ConfigureNotify differently depending
     on if it has been reparented or not.
2002-10-05 23:36:29 +00:00
Jan Djärv
0331883833 * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0,
and USE_MOTIF, call XTranslateCoordinates to get the real x and y.
This is to also handle x/y changes that occur because of a resize.
2002-10-03 17:53:23 +00:00
Kenichi Handa
6e66662976 (x_encode_char): For DIM=1 charset, set ccl->reg[2] to
-1 before calling ccl_driver.
2002-09-30 06:31:51 +00:00
Kim F. Storm
fdbe859cfb (x_specified_cursor_type): Remove prototype.
(x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH.
(x_display_and_set_cursor): Use get_window_cursor_type.
Remove unused local variables cursor_off_state.
Redraw cursor if hbar cursor width changes.
2002-08-30 12:05:04 +00:00
Richard M. Stallman
cc9caa329f (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR
and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off.
2002-08-27 18:42:48 +00:00
Kenichi Handa
c62525b7e2 (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING. 2002-08-14 00:59:01 +00:00
Richard M. Stallman
2a51c0262a Comment change. 2002-08-05 16:28:41 +00:00
Richard M. Stallman
4e361664e6 (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH for bar cursor. 2002-07-27 18:57:41 +00:00
Richard M. Stallman
4f53f3b8e7 (expose_overlaps): New function.
(expose_window): Use it to fix the display of overlapping rows.
2002-07-25 03:17:33 +00:00
Ken Raeburn
59ab1dc7ee (same_x_server): String pointer args now point to
const.
(same_x_server): Use const for pointer to lisp string
data.
2002-07-16 19:49:27 +00:00
Ken Raeburn
7da167cde1 * xterm.c (x_catch_errors, x_clear_errors): Use SSET. 2002-07-16 15:50:57 +00:00
Ken Raeburn
d5db40779d Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Juanma Barranquero
aed1337830 Use macro SPECPDL_INDEX. 2002-07-11 14:18:02 +00:00
Juanma Barranquero
4696802bde Fix typo. 2002-07-03 12:01:24 +00:00
Richard M. Stallman
5dbb3f4693 (x_term_init): Turn off polling around XtOpenDisplay. 2002-07-02 19:11:38 +00:00
Dave Love
55a8b3edea Fix prototype for K&R. 2002-07-01 15:59:26 +00:00
Jan Djärv
fd42232cc9 Indentation fixes. 2002-06-28 19:53:04 +00:00
Jan Djärv
cab34f5021 (x_focus_changed): New function.
(x_detect_focus_change): New function.
(XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut
EnterNotify and LeaveNotify to track X focus changes.
2002-06-28 19:42:48 +00:00
Kenichi Handa
d337aad50b (XTread_socket): Disable composition handling. 2002-06-24 00:39:35 +00:00
Pavel Janík
3b8f965153 Rename enum event_kind items. 2002-06-13 14:59:38 +00:00
Richard M. Stallman
f7e039de27 (x_display_and_set_cursor): Change the cursor in the same
way for blinked-off state and for a nonselected window.
2002-05-28 20:28:12 +00:00
Kim F. Storm
6065f9e276 (x_write_glyphs): Clear phys_cursor_on_p if current
phys_cursor's hpos is overwritten.  This is still not completely
correct, as it doesn't really make sense to use hpos at all to
get the cursor glyph (as that is relative to the width of the
characters on the line, which may have changed during the update).
2002-05-22 21:18:25 +00:00
Kim F. Storm
534c20b22f (x_draw_image_foreground, x_draw_image_foreground_1):
Enlarge cursor rectangle drawn around image with non-zero relief.
2002-05-08 21:32:00 +00:00
Stefan Monnier
96035dcaa8 (XTread_socket): Disable the Xutf8LookupString code. 2002-04-29 18:24:49 +00:00
Gerd Moellmann
56a0382c7d (x_draw_phys_cursor_glyph): Undo last change. Compute
phys_cursor_width from the x position returned by x_draw_glyhs,
which is cheaper.
(x_display_and_set_cursor): Compute the buffer-local value
of `cursor-in-non-selected-windows' only when needed.
2002-04-26 17:56:03 +00:00
Gerd Moellmann
ef58a7ec87 (x_draw_phys_cursor_glyph): Take into account that a box
cursor on a stretch glyph has a width that depends on
x_stretch_cursor_p.
2002-04-25 17:28:08 +00:00