aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (x_queue_event, x_unqueue_events): New functions.Richard M. Stallman1994-07-271-15/+79
| | | | | | (x_start_queuing_selection_requests): New function. (x_stop_queuing_selection_requests): New function. (XTread_socket): Queue up SelectionRequest events sometimes.
* (struct font_info): New field full_name.Richard M. Stallman1994-07-191-2/+28
| | | | (x_new_font): Record, and return, the full name of the font.
* (note_mouse_movement): Use proper data type for windowRichard M. Stallman1994-07-181-4/+8
| | | | | args to XQueryPointer. (x_scroll_bar_note_movement): Likewise.
* (XTread_socket, construct_menu_click) [USE_X_TOOLKIT]:Richard M. Stallman1994-07-071-4/+28
| | | | | | | Update x_mouse_grabbed and Vmouse_depressed. (x_make_frame_visible): In x_sync loop at the end, every fourth time, sleep for 1/4 second.
* (x_draw_box): Use curs_x and curs_y, not f->cursor_[xy].Richard M. Stallman1994-07-011-3/+16
| | | | | (x_make_frame_visible): In x_sync loop at the end, every fourth time, sleep for 1/4 second.
* Don't include string.h or strings.h.Richard M. Stallman1994-06-231-5/+0
|
* (show_mouse_face): Set endcolumn ok in side-by-side windows.Richard M. Stallman1994-06-211-1/+1
|
* (make_frame_visible): At end, wait till Emacs sees frame is visible.Richard M. Stallman1994-06-181-0/+11
|
* (scratch_cursor_gc): New variable.Richard M. Stallman1994-06-171-13/+17
| | | | | (dumpglyphs): Rework handling of GCs for cursor display to use scratch_cursor_gc, and reuse the GC more.
* (x_noop_count): New variable.Richard M. Stallman1994-06-151-4/+23
| | | | | (x_term_init) [X_IO_BUG]: Init it. (XTread_socket) [X_IO_BUG]: Don't do XNoOp every time, just 1 in 100.
* (x_term_init): Don't call get_system_name.Karl Heuer1994-06-151-5/+5
|
* Put stdio.h after config.h.Richard M. Stallman1994-06-151-3/+4
| | | | (XTread_socket): Use x_top_window_to_frame in prev change.
* (XTread_socket): Handle Xatom_wm_save_yourself by calling XSetCommand.Richard M. Stallman1994-06-131-0/+15
|
* (x_wm_set_icon_position, x_wm_set_icon_pixmap):Richard M. Stallman1994-06-051-0/+8
| | | | [USE_X_TOOLKIT]: Use top-level widget's window.
* (x_term_init): New args xrm_option and resource_string.Richard M. Stallman1994-06-051-7/+15
| | | | Pass an -xrm option to XtAppInitialize if appropriate.
* (x_iconify_frame): Call x_set_offset,Richard M. Stallman1994-05-281-2/+16
| | | | | | | if x_make_frame_visible would do so. (x_make_frame_visible): Don't call x_set_offset if frame is iconic. (XTread_socket): For ConfigureNotify, if wm decorations exist, set NorthWestGravity.
* (x_is_vendor_fkey): Function deleted.Richard M. Stallman1994-05-271-21/+2
| | | | | (XTread_socket, case KeyPressed): Don't clear the vendor-specific bit. Pass thru almost any vendor-specific keysym.
* (note_mouse_movement): Use frame's window in XQueryPointer.Richard M. Stallman1994-05-251-9/+30
| | | | | Special case if mouse isn't on that window. (note_mouse_highlight): Handle negative args and too-large args.
* (x_set_window_size): If cursor outside new size, mark it off.Richard M. Stallman1994-05-231-11/+29
| | | | | | | (note_mouse_highlight): Handle case of highlight extending past end of window. (fast_find_position): Fix bugs when no text on screen and when the mouse is on an empty line.
* (x_wm_set_window_state) [USE_X_TOOLKIT]: Use XtSetValues.Richard M. Stallman1994-05-211-23/+37
| | | | | | | | | (x_iconify_frame) [USE_X_TOOLKIT]: New code for invisible window case. (XtNinitialState) [USE_X_TOOLKIT]: New #define. (x_make_frame_invisible): Mostly combine toolkit/non-toolkit cases, in the process fixing a dumb bug. (x_iconify_frame): Fix error messages.
* (x_display_box_cursor): Preserve mouse highlight if the old cursor was in it.Richard M. Stallman1994-05-151-1/+18
|
* (XTread_socket): For button events, clear compose_status.Richard M. Stallman1994-05-141-0/+2
|
* (dumpglyphs): For cursor foreground, try theRichard M. Stallman1994-05-121-2/+6
| | | | | face's background before the face's foreground. (XTread_socket): Call note_mouse_movement for EnterNotify.
* (x_set_window_size) [USE_X_TOOLKIT]:Richard M. Stallman1994-05-091-1/+11
| | | | Preserve the main widget's x and y position.
* (x_set_offset): Set gravity and size hintRichard M. Stallman1994-05-081-15/+50
| | | | | | | | | before moving the window. (XTread_socket): For ReparentNotify, use x_top_window_to_frame. Also recompute frame position using x_real_positions. For ConfigureNotify, don't ignore send_events. Also recompute frame position using x_real_positions.
* (x_set_offset): Update XNegative and YNegative for new pos.Richard M. Stallman1994-05-061-2/+7
| | | | (x_make_frame_invisible): Use XWithdrawWindow again.
* (note_mouse_highlight, show_mouse_face, clear_mouse_face, x_destroy_window):Karl Heuer1994-05-021-20/+22
| | | | Use row/col instead of buffer position to keep track of highlighted area.
* (show_mouse_face): Fix test for cursor in highlighted area.Karl Heuer1994-05-021-6/+6
| | | | (note_mouse_highlight): Reorder test for simplicity.
* (x_calc_absolute_position): Use size_hint_flags.Richard M. Stallman1994-05-021-3/+3
| | | | New FLAGS arg deleted. Callers changed.
* (x_wm_set_size_hint): Don't try to handle negative positions.Richard M. Stallman1994-05-011-17/+5
| | | | | (x_calc_absolute_position): New arg FLAGS. Use XNegative and YNegative. (x_set_offset): Pass new arg.
* (x_wm_set_size_hint): Always set PWinGravity.Richard M. Stallman1994-04-301-16/+51
| | | | | | | | | Rename the args. Compute x and y fields from negative positions. Use XGetWMNormalHints if X11R4 or newer. (x_make_frame_visible): Call x_set_offset only if not USE_X_TOOLKIT. (x_make_frame_invisible): Call x_wm_set_size_hint. (x_set_offset): Pass 0 as 3rd arg to x_wm_set_size_hint. (x_set_window_size): Likewise. Set win_gravity field here if nec.
* (x_wm_set_size_hint): Don't set PMaxSize.Richard M. Stallman1994-04-291-2/+3
| | | | Don't touch win_gravity field if no PWinGravity.
* (XTread_socket): Only top window cares about LeaveNotify.Karl Heuer1994-04-281-19/+21
|
* (x_make_frame_visible): Use XtMapWidget, not XtPopup.Richard M. Stallman1994-04-281-1/+2
|
* (XTread_socket, case ClientMessage): Don't callRichard M. Stallman1994-04-271-6/+8
| | | | | | XSetInputFocus if event is not for an existing frame. (XTread_socket) [USE_X_TOOLKIT]: Never pass motion events to the toolkit.
* (x_wm_set_size_hint): Do set max_height, max_width, and PMaxSize flag.Richard M. Stallman1994-04-271-1/+5
|
* (XTread_socket) [USE_X_TOOLKIT]: Undo previous change.Richard M. Stallman1994-04-271-3/+0
|
* (XTmouse_position, XTread_socket): Don't use last_mouse_frame if it's dead.Karl Heuer1994-04-251-2/+2
|
* (x_term_init): Add explicit cast.Karl Heuer1994-04-251-1/+1
|
* (XTread_socket) [USE_X_TOOLKIT]: Let toolkit handle menu bar click.Richard M. Stallman1994-04-251-0/+3
|
* (x_set_mouse_pixel_position): New function.Richard M. Stallman1994-04-221-4/+14
|
* (x_make_frame_visible): Args to x_set_offset were swapped.Richard M. Stallman1994-04-211-1/+1
|
* (XTread_socket): Delete the non-NEW_SELECTIONS codeRichard M. Stallman1994-04-201-62/+16
| | | | and simplify the toolkit conditional for those cases.
* (XTread_socket, case ClientMessage): Use x_window_to_frame unconditionally.Richard M. Stallman1994-04-201-21/+33
| | | | | | | | | | (x_make_frame_invisible): Explicitly clear visible and iconified flags, as well as the async flags. (XTread_socket): Call XSetInputFocus. (x_make_frame_invisible) [USE_X_TOOLKIT]: Use XtPopdown. (XTread_socket): Call _XEditResCheckMessages only if HAVE_X11R5.
* (Xatom_editres_name): Variable defined.Richard M. Stallman1994-04-171-3/+16
| | | | | | | (XTread_socket): Handle that kind of message. (x_term_init): Specify -name option in XtAppInitialize. (Qface, Qmouse_face): Supply missing Lisp_Object.
* (dumpglyphs): When HL=2, check explicitly for usingRichard M. Stallman1994-04-171-32/+20
| | | | | | | | | | | | | | | | | | the frame's default font or not. (XTread_socket): For UnmapNotify, use x_any_window_to_frame. (x_set_offset): New arg CHANGE_GRAVITY. (x_make_frame_visible): Pass new arg. (x_wm_set_size_hint): Args spec_x and spec_y deleted. (x_set_offset, x_set_window_size): Don't pass those args. (x_destroy_window): Just clear out mouse_face... vars. (x_wm_set_size_hint): Use win_gravity from frame. (x_make_frame_visible): Call x_set_offset.
* (x_make_frame_visible): Don't call XMapSubwindows.Richard M. Stallman1994-04-141-37/+54
| | | | | | | | | | | | | | | | | | (x_iconify_frame): Likewise. (pending_autoraise_frame): New variable. (x_new_focus_frame): Don't autoraise here; just set that var. (XTread_socket): Raise that frame here. (x_destroy_window): Call clear_mouse_face if necessary. (x_new_font): Always call x_set_window_size. (x_wm_set_size_hint): If PROMPTING is 0, copy the old win_gravity field. If USPosition is set, don't set PWinGravity. (x_wm_set_size_hint): If change_gravity is 0, just don't set the gravity.
* (dumpglyphs): Clear any extra pixel rows below the text.Richard M. Stallman1994-04-101-33/+217
| | | | | | | | (x_display_box_cursor): Explicitly clear full height of line. (dumpglyphs): New arg just_foreground. Callers changed. (x_set_window_size): Call XSync. (note_mouse_highlight): Do nothing if buffer has changed.
* (stufflines, scraplines, dumprectangle, x_do_pending_expose)Richard M. Stallman1994-04-091-26/+30
| | | | | | | | | (pixel_to_glyph_coords, x_draw_box, clear_cursor, x_display_bar_cursor) (x_set_resize_hint, x_set_mouse_position, x_wm_set_size_hint) (XTclear_end_of_line, redraw_previous_char): Use line_height field. (x_new_font): If frame is new, set line_height field. Otherwise call frame_update_line_height.
* (show_mouse_face): Change the mouse cursor accordingly.Fred Pierresteguy1994-04-081-0/+6
|