Richard M. Stallman
553ec0af48
Comment fix.
1994-09-10 20:06:02 +00:00
Richard M. Stallman
8b2f8d4edb
(x_make_frame_visible): Call input_polling_used.
1994-09-01 20:32:44 +00:00
Richard M. Stallman
3b2fa4e69a
Include keyboard.h.
...
(x_make_frame_visible): Fix previous change: test polling_for_input
instead of whether SIGIO is defined.
1994-08-28 19:57:51 +00:00
Karl Heuer
23cf7c602a
(x_make_frame_visible): Call signal handler directly.
1994-08-26 05:18:31 +00:00
Karl Heuer
c12a7cbdbc
(x_make_frame_visible): Raise a signal to cause the pending X I/O to be read.
1994-08-24 06:28:41 +00:00
Richard M. Stallman
f776546067
(x_make_frame_visible): Quit if requested, in loop at end.
1994-08-19 05:38:55 +00:00
Richard M. Stallman
d53067dc62
(x_new_font): Don't set filename = full_name if that's null.
1994-08-12 05:23:38 +00:00
Richard M. Stallman
9a5196d062
(XTread_socket): Don't test X_IO_BUG; make that code unconditional.
...
(x_noop_count, x_term_init): Likewise.
1994-08-08 10:13:24 +00:00
Richard M. Stallman
133bbcd690
(x_make_frame_visible): Start one_in_four at 1.
1994-08-03 23:20:26 +00:00
Richard M. Stallman
23faf38f99
(construct_mouse_click, construct_menu_click):
...
Don't update x_mouse_grabbed, Vmouse_depressed, last_mouse_frame here.
(XTread_socket): Update them here, so we do it without fail.
(XTmouse_position, XTread_socket case MotionNotify):
Check last_mouse_frame is nonzero before using it.
1994-08-03 07:35:50 +00:00
Richard M. Stallman
09756a8501
(x_queue_event, x_unqueue_events): New functions.
...
(x_start_queuing_selection_requests): New function.
(x_stop_queuing_selection_requests): New function.
(XTread_socket): Queue up SelectionRequest events sometimes.
1994-07-27 00:12:34 +00:00
Richard M. Stallman
76bcdf397d
(struct font_info): New field full_name.
...
(x_new_font): Record, and return, the full name of the font.
1994-07-19 23:54:02 +00:00
Richard M. Stallman
847e150a18
(note_mouse_movement): Use proper data type for window
...
args to XQueryPointer.
(x_scroll_bar_note_movement): Likewise.
1994-07-18 18:15:06 +00:00
Richard M. Stallman
fb3b7de5e9
(XTread_socket, construct_menu_click) [USE_X_TOOLKIT]:
...
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.
1994-07-07 03:03:34 +00:00
Richard M. Stallman
2a6cf806e2
(x_draw_box): Use curs_x and curs_y, not f->cursor_[xy].
...
(x_make_frame_visible): In x_sync loop at the end,
every fourth time, sleep for 1/4 second.
1994-07-01 00:32:05 +00:00
Richard M. Stallman
0b6ac15043
Don't include string.h or strings.h.
1994-06-23 23:56:06 +00:00
Richard M. Stallman
6f4c2453b8
(show_mouse_face): Set endcolumn ok in side-by-side windows.
1994-06-21 17:13:39 +00:00
Richard M. Stallman
0dacf79125
(make_frame_visible): At end, wait till Emacs sees frame is visible.
1994-06-18 18:57:39 +00:00
Richard M. Stallman
11dd3d61d5
(scratch_cursor_gc): New variable.
...
(dumpglyphs): Rework handling of GCs for cursor display
to use scratch_cursor_gc, and reuse the GC more.
1994-06-17 13:35:53 +00:00
Richard M. Stallman
ef2a22d0bb
(x_noop_count): New variable.
...
(x_term_init) [X_IO_BUG]: Init it.
(XTread_socket) [X_IO_BUG]: Don't do XNoOp every time, just 1 in 100.
1994-06-15 20:15:59 +00:00
Karl Heuer
becadff8d8
(x_term_init): Don't call get_system_name.
1994-06-15 04:48:02 +00:00
Richard M. Stallman
4846819e11
Put stdio.h after config.h.
...
(XTread_socket): Use x_top_window_to_frame in prev change.
1994-06-15 04:01:33 +00:00
Richard M. Stallman
0ab983c80f
(XTread_socket): Handle Xatom_wm_save_yourself by calling XSetCommand.
1994-06-13 20:41:21 +00:00
Richard M. Stallman
75231bad05
(x_wm_set_icon_position, x_wm_set_icon_pixmap):
...
[USE_X_TOOLKIT]: Use top-level widget's window.
1994-06-05 18:17:53 +00:00
Richard M. Stallman
1f8255f228
(x_term_init): New args xrm_option and resource_string.
...
Pass an -xrm option to XtAppInitialize if appropriate.
1994-06-05 17:42:38 +00:00
Richard M. Stallman
fd13dbb227
(x_iconify_frame): Call x_set_offset,
...
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.
1994-05-28 18:37:06 +00:00
Richard M. Stallman
05f6617dbf
(x_is_vendor_fkey): Function deleted.
...
(XTread_socket, case KeyPressed): Don't clear the vendor-specific bit.
Pass thru almost any vendor-specific keysym.
1994-05-27 22:18:39 +00:00
Richard M. Stallman
27f338afea
(note_mouse_movement): Use frame's window in XQueryPointer.
...
Special case if mouse isn't on that window.
(note_mouse_highlight): Handle negative args and too-large args.
1994-05-25 09:20:45 +00:00
Richard M. Stallman
4d73d0388d
(x_set_window_size): If cursor outside new size, mark it off.
...
(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.
1994-05-23 06:47:51 +00:00
Richard M. Stallman
546e6d5b17
(x_wm_set_window_state) [USE_X_TOOLKIT]: Use XtSetValues.
...
(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.
1994-05-21 05:36:07 +00:00
Richard M. Stallman
79cf745601
(x_display_box_cursor): Preserve mouse highlight if the old cursor was in it.
1994-05-15 21:39:38 +00:00
Richard M. Stallman
9b07615b7e
(XTread_socket): For button events, clear compose_status.
1994-05-14 22:17:13 +00:00
Richard M. Stallman
da893f1f84
(dumpglyphs): For cursor foreground, try the
...
face's background before the face's foreground.
(XTread_socket): Call note_mouse_movement for EnterNotify.
1994-05-12 08:46:03 +00:00
Richard M. Stallman
3a20653d46
(x_set_window_size) [USE_X_TOOLKIT]:
...
Preserve the main widget's x and y position.
1994-05-09 05:08:06 +00:00
Richard M. Stallman
3a35ab44bd
(x_set_offset): Set gravity and size hint
...
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.
1994-05-08 21:06:13 +00:00
Richard M. Stallman
ac7ad037f7
(x_set_offset): Update XNegative and YNegative for new pos.
...
(x_make_frame_invisible): Use XWithdrawWindow again.
1994-05-06 00:59:24 +00:00
Karl Heuer
3b50638621
(note_mouse_highlight, show_mouse_face, clear_mouse_face, x_destroy_window):
...
Use row/col instead of buffer position to keep track of highlighted area.
1994-05-02 21:24:16 +00:00
Karl Heuer
55836b7371
(show_mouse_face): Fix test for cursor in highlighted area.
...
(note_mouse_highlight): Reorder test for simplicity.
1994-05-02 21:09:28 +00:00
Richard M. Stallman
43bca5d597
(x_calc_absolute_position): Use size_hint_flags.
...
New FLAGS arg deleted. Callers changed.
1994-05-02 00:46:44 +00:00
Richard M. Stallman
20f55f9a24
(x_wm_set_size_hint): Don't try to handle negative positions.
...
(x_calc_absolute_position): New arg FLAGS. Use XNegative and YNegative.
(x_set_offset): Pass new arg.
1994-05-01 23:29:27 +00:00
Richard M. Stallman
af31d76fa0
(x_wm_set_size_hint): Always set PWinGravity.
...
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.
1994-04-30 00:15:20 +00:00
Richard M. Stallman
b72a58fd20
(x_wm_set_size_hint): Don't set PMaxSize.
...
Don't touch win_gravity field if no PWinGravity.
1994-04-29 04:04:51 +00:00
Karl Heuer
10c5e63d23
(XTread_socket): Only top window cares about LeaveNotify.
1994-04-28 07:59:17 +00:00
Richard M. Stallman
d7a38a2ed9
(x_make_frame_visible): Use XtMapWidget, not XtPopup.
1994-04-28 07:46:27 +00:00
Richard M. Stallman
0a1788157b
(XTread_socket, case ClientMessage): Don't call
...
XSetInputFocus if event is not for an existing frame.
(XTread_socket) [USE_X_TOOLKIT]: Never pass motion events to the toolkit.
1994-04-27 08:27:00 +00:00
Richard M. Stallman
7553a6b72b
(x_wm_set_size_hint): Do set max_height, max_width, and PMaxSize flag.
1994-04-27 05:03:51 +00:00
Richard M. Stallman
6ecbd1cd8b
(XTread_socket) [USE_X_TOOLKIT]: Undo previous change.
1994-04-27 04:47:29 +00:00
Karl Heuer
06ef4a3f7e
(XTmouse_position, XTread_socket): Don't use last_mouse_frame if it's dead.
1994-04-25 22:55:33 +00:00
Karl Heuer
983f76b88f
(x_term_init): Add explicit cast.
1994-04-25 22:32:24 +00:00
Richard M. Stallman
afb66a9aa8
(XTread_socket) [USE_X_TOOLKIT]: Let toolkit handle menu bar click.
1994-04-25 22:06:13 +00:00