aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
Commit message (Collapse)AuthorAgeFilesLines
...
* (Qeql): Declare.Dave Love2002-10-301-6/+44
| | | | | | | (Vx_keysym_table): New. (syms_of_xterm): Initialize it. (XTread_socket): Use it. Deal with ASCII keysyms. (XSetIMValues) [HAVE_X11R6]: Prototype.
* (note_mouse_highlight): Don't use mouse-face if hidden.Kim F. Storm2002-10-261-3/+6
|
* (get_window_cursor_type): New arg ACTIVE_CURSOR.Kim F. Storm2002-10-241-1/+2
| | | | Callers changed (supply dummy arg).
* Fix typo in comment.Juanma Barranquero2002-10-181-393/+393
|
* * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover allJan Djärv2002-10-051-26/+1
| | | | | | 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.
* * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0,Jan Djärv2002-10-031-2/+18
| | | | | 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.
* (x_encode_char): For DIM=1 charset, set ccl->reg[2] toKenichi Handa2002-09-301-0/+1
| | | | -1 before calling ccl_driver.
* (x_specified_cursor_type): Remove prototype.Kim F. Storm2002-08-301-72/+4
| | | | | | | (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.
* (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSORRichard M. Stallman2002-08-271-3/+8
| | | | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off.
* (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING.Kenichi Handa2002-08-141-0/+2
|
* Comment change.Richard M. Stallman2002-08-051-1/+1
|
* (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH for bar cursor.Richard M. Stallman2002-07-271-1/+4
|
* (expose_overlaps): New function.Richard M. Stallman2002-07-251-1/+49
| | | | (expose_window): Use it to fix the display of overlapping rows.
* (same_x_server): String pointer args now point toKen Raeburn2002-07-161-2/+2
| | | | | | const. (same_x_server): Use const for pointer to lisp string data.
* * xterm.c (x_catch_errors, x_clear_errors): Use SSET.Ken Raeburn2002-07-161-2/+2
|
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-28/+28
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* Use macro SPECPDL_INDEX.Juanma Barranquero2002-07-111-1/+1
|
* Fix typo.Juanma Barranquero2002-07-031-1/+1
|
* (x_term_init): Turn off polling around XtOpenDisplay.Richard M. Stallman2002-07-021-0/+2
|
* Fix prototype for K&R.Dave Love2002-07-011-1/+1
|
* Indentation fixes.Jan Djärv2002-06-281-5/+5
|
* (x_focus_changed): New function.Jan Djärv2002-06-281-48/+156
| | | | | | (x_detect_focus_change): New function. (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut EnterNotify and LeaveNotify to track X focus changes.
* (XTread_socket): Disable composition handling.Kenichi Handa2002-06-241-0/+5
|
* Rename enum event_kind items.Pavel Janík2002-06-131-17/+17
|
* (x_display_and_set_cursor): Change the cursor in the sameRichard M. Stallman2002-05-281-32/+42
| | | | way for blinked-off state and for a nonselected window.
* (x_write_glyphs): Clear phys_cursor_on_p if currentKim F. Storm2002-05-221-0/+8
| | | | | | | 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).
* (x_draw_image_foreground, x_draw_image_foreground_1):Kim F. Storm2002-05-081-4/+12
| | | | Enlarge cursor rectangle drawn around image with non-zero relief.
* (XTread_socket): Disable the Xutf8LookupString code.Stefan Monnier2002-04-291-1/+2
|
* (x_draw_phys_cursor_glyph): Undo last change. ComputeGerd Moellmann2002-04-261-23/+15
| | | | | | | 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.
* (x_draw_phys_cursor_glyph): Take into account that a boxGerd Moellmann2002-04-251-1/+7
| | | | | cursor on a stretch glyph has a width that depends on x_stretch_cursor_p.
* (x_display_and_set_cursor): Set phys_cursor_width toGerd Moellmann2002-04-241-1/+4
| | | | 0 for NO_CURSOR.
* (notice_overwritten_cursor): Fix an off by 1 error.Gerd Moellmann2002-04-241-1/+1
|
* (notice_overwritten_cursor): Handle the special caseGerd Moellmann2002-04-231-3/+8
| | | | | of the cursor being in the first blank non-text line at the end of a window.
* (x_draw_hollow_cursor, x_draw_bar_cursor)Gerd Moellmann2002-04-231-10/+35
| | | | | | | | | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. (x_display_and_set_cursor): Don't set phys_cursor_width here for bar cursors only, to make phys_cursor_width contain what its name suggests. (notice_overwritten_cursor): Consider the cursor image erased if the output area intersects the cursor image in y-direction.
* Fix misleading comment after #endif.Pavel Janík2002-04-221-1/+1
|
* (note_mode_line_or_margin_highlight): Remove unused variables `row', `i'Pavel Janík2002-04-191-2/+6
| | | | | | and `area'. (XTread_socket) <KeyPress>: Pass KeyPress events when in menu to toolkit library.
* (x_draw_bar_cursor): New argument KIND; callers changed.Eli Zaretskii2002-04-191-7/+22
| | | | | Handle the `hbar' cursor type. (x_display_and_set_cursor): Handle the HBAR_CURSOR case.
* (Qlatin_1, Qutf_8): New vars.Stefan Monnier2002-04-161-37/+53
| | | | | | | | (syms_of_xterm): Initialize them. (XTread_socket): Eliminate incorrect optimization that tried to avoid decoding the output of X*LookupString. Always use latin-1 to decode the output of XLookupString. Try Xutf8LookupString if XmbLookupString failed.
* (note_mode_line_or_margin_highlight): Renamed fromGerd Moellmann2002-04-121-64/+40
| | | | note_mode_line_highlight and extended.
* Rename autoselect_window_p to mouse_autoselect_window.Pavel Janík2002-04-031-5/+5
|
* (XTread_socket): Fix int/Lisp_Object confusion.Stefan Monnier2002-04-011-1/+1
|
* (XTread_socket): Generate SELECT_WINDOW_EVENTs only for Emacs windows.Pavel Janík2002-04-011-1/+2
|
* (autoselect_window_p): Renamed from `x_autoselect_window_p'.Pavel Janík2002-04-011-27/+35
| | | | | | (last_window): New variable. (XTread_socket): Generate SELECT_WINDOW_EVENTs. (note_mouse_movement): Remove reimplemented code in #if 0.
* Fix typo.Pavel Janík2002-03-311-1/+1
|
* (x_get_char_face_and_encoding): Add parameter DISPLAY_P.Gerd Moellmann2002-03-311-12/+18
| | | | Callers changed.
* (XTread_socket): If XK_ISO_Lock andEli Zaretskii2002-03-221-0/+8
| | | | | XK_ISO_Last_Group_Lock are defined, handle keysyms between XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch.
* (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>: Use a fixed-sizeStefan Monnier2002-03-131-62/+50
| | | | | | | thumb (based on an ad-hoc estimate of 30 chars per line) to avoid annoying flicker. (xm_scroll_callback): Get rid of the now unnecessary kludge. (XTread_socket): Mark it static.
* (note_mouse_movement): Put code forGerd Moellmann2002-03-111-0/+3
| | | | x_autoselect_window_p in #if 0.
* Added calls to x_session_check_input () and x_session_initialize ().Jan Djärv2002-03-101-2/+18
|
* Change defvar_int def and vars to use EMACS_INT instead of just int.Stefan Monnier2002-03-041-1/+1
|