| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
(x_start_queuing_selection_requests): New function.
(x_stop_queuing_selection_requests): New function.
(XTread_socket): Queue up SelectionRequest events sometimes.
|
| |
|
|
| |
(x_new_font): Record, and return, the full name of the font.
|
| |
|
|
|
| |
args to XQueryPointer.
(x_scroll_bar_note_movement): Likewise.
|
| |
|
|
|
|
|
| |
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_make_frame_visible): In x_sync loop at the end,
every fourth time, sleep for 1/4 second.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
(dumpglyphs): Rework handling of GCs for cursor display
to use scratch_cursor_gc, and reuse the GC more.
|
| |
|
|
|
| |
(x_term_init) [X_IO_BUG]: Init it.
(XTread_socket) [X_IO_BUG]: Don't do XNoOp every time, just 1 in 100.
|
| | |
|
| |
|
|
| |
(XTread_socket): Use x_top_window_to_frame in prev change.
|
| | |
|
| |
|
|
| |
[USE_X_TOOLKIT]: Use top-level widget's window.
|
| |
|
|
| |
Pass an -xrm option to XtAppInitialize if appropriate.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
(XTread_socket, case KeyPressed): Don't clear the vendor-specific bit.
Pass thru almost any vendor-specific keysym.
|
| |
|
|
|
| |
Special case if mouse isn't on that window.
(note_mouse_highlight): Handle negative args and too-large args.
|
| |
|
|
|
|
|
| |
(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_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.
|
| | |
|
| | |
|
| |
|
|
|
| |
face's background before the face's foreground.
(XTread_socket): Call note_mouse_movement for EnterNotify.
|
| |
|
|
| |
Preserve the main widget's x and y position.
|
| |
|
|
|
|
|
|
|
| |
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_make_frame_invisible): Use XWithdrawWindow again.
|
| |
|
|
| |
Use row/col instead of buffer position to keep track of highlighted area.
|
| |
|
|
| |
(note_mouse_highlight): Reorder test for simplicity.
|
| |
|
|
| |
New FLAGS arg deleted. Callers changed.
|
| |
|
|
|
| |
(x_calc_absolute_position): New arg FLAGS. Use XNegative and YNegative.
(x_set_offset): Pass new arg.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
Don't touch win_gravity field if no PWinGravity.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
XSetInputFocus if event is not for an existing frame.
(XTread_socket) [USE_X_TOOLKIT]: Never pass motion events to the toolkit.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
and simplify the toolkit conditional for those cases.
|
| |
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
|
| |
(XTread_socket): Handle that kind of message.
(x_term_init): Specify -name option in XtAppInitialize.
(Qface, Qmouse_face): Supply missing Lisp_Object.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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_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.
|
| |
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
|
|
|
| |
(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.
|
| | |
|