Juanma Barranquero
5820771bca
(syms_of_xterm) <x-use-underline-position-properties,
...
x-underline-at-descent-line>: Doc fix.
2006-12-10 23:32:00 +00:00
Chong Yidong
6d8504ed84
(XTframe_raise_lower): Comment out _NET_ACTIVE_WINDOW code.
2006-12-09 18:38:59 +00:00
Kenichi Handa
2adccf2859
(x_query_font): Use xstricmp instead off strcasecmp.
2006-12-08 00:56:01 +00:00
Jan Djärv
65dc67a94f
(x_raise_frame): Move setting of _NET_ACTIVE_WINDOW
...
property ...
(XTframe_raise_lower): ... to here.
2006-11-30 09:18:25 +00:00
Jan Djärv
118ddbddd2
Declare variable before XSETFRAME to avoid gcc 2.96 error.
...
Tetsurou Okazaki <okazaki@be.to> (tiny change)
2006-11-17 13:02:53 +00:00
Jan Djärv
b8e7655fa8
(do_ewmh_fullscreen, XTfullscreen_hook): New functions.
...
(x_check_fullscreen): Call do_ewmh_fullscreen.
(x_initialize): Set fullscreen_hook to XTfullscreen_hook.
2006-11-10 08:01:33 +00:00
Jan Djärv
45a26c4279
* xterm.c (x_raise_frame): Send _NET_ACTIVE_WINDOW when raising the
...
window.
2006-11-03 08:58:39 +00:00
Stefan Monnier
997482f5f4
(x_check_expected_move): Remove unused var `count'.
2006-10-10 14:37:54 +00:00
Chong Yidong
98a20c65df
* xterm.c (x_initialize): Don't install Xt event timer here.
...
(x_timeout_atimer_activated_flag): New var.
(x_activate_timeout_atimer): New function to install Xt timer.
(x_send_scroll_bar_event, x_process_timeouts): Use it.
* xmenu.c (x_menu_set_in_use, popup_activate_callback)
(create_and_show_popup_menu, create_and_show_dialog): Use it.
* xterm.h (x_activate_timeout_atimer): prototype.
2006-09-13 22:39:23 +00:00
Chong Yidong
92b2332318
* xdisp.c (mouse_autoselect_window): Removed.
...
(Vmouse_autoselect_window): New variable. DEFVAR_LISP it.
* dispextern.h (mouse_autoselect_window): Remove extern.
(Vmouse_autoselect_window): Add extern.
* macterm.c (XTread_socket): Test Vmouse_autoselect_window
instead of mouse_autoselect_window.
* msdos.c (dos_rawgetc): Likewise.
* w32term.c (w32_read_socket): Likewise.
* xterm.c (handle_one_xevent): Likewise.
2006-09-08 14:14:28 +00:00
Richard M. Stallman
9e69bfa484
(x_error_quitter): For BadName error, just return.
2006-09-08 12:13:14 +00:00
Kim F. Storm
1118718c05
(x_draw_glyph_string): Fix 2006-08-24 change.
2006-09-08 11:35:01 +00:00
Kim F. Storm
30f2752356
(x_underline_at_descent_line): New variable.
...
(syms_of_xterm): DEFVAR_BOOL it.
(x_draw_glyph_string): Use it.
Draw underline and overline up to the end of line if the face
extends to the end of line.
2006-08-24 20:52:00 +00:00
Kim F. Storm
6c69392936
(x_draw_stretch_glyph_string): It is ok to draw a
...
stretch glyph in left marginal areas on header and mode lines.
2006-08-21 08:53:32 +00:00
Jan Djärv
93acf8f34d
* xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms*
2006-08-11 07:30:56 +00:00
Kenichi Handa
dc3ca1078f
(x_query_font): Compare names by ignoring case.
2006-08-04 01:41:14 +00:00
Dan Nicolaescu
2381d38d0a
* ebrowse.c (usage, version): Mark as NO_RETURN.
...
* emacsclient.c (print_help_and_exit): Likewise.
* xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN.
* textprop.c (text_read_only): Likewise.
* lread.c (end_of_file_error): Likewise.
* lisp.h (circular_list_error, memory_full, buffer_memory_full):
Likewise.
* eval.c (unwind_to_catch): Likewise.
* buffer.h (buffer_slot_type_mismatch): Likewise.
2006-07-18 16:33:45 +00:00
Kim F. Storm
4fbd0f6db1
(x_delete_display): Don't free or derefence NULL pointers.
2006-07-04 14:14:36 +00:00
Jan Djärv
d692a3d5c5
2006-06-16 Francis Litterio <flitterio@gmail.com>
...
* xterm.c (x_check_expected_move, handle_one_xevent)
(x_set_offset, x_check_fullscreen): Extensive changes to make
frame positioning deterministic under X.
* xterm.h (x_output): Added members left_before_move and
top_before_move. Removed members expected_left and expected_top.
2006-06-16 12:12:27 +00:00
Dan Nicolaescu
01d0930532
* search.c (matcher_overflow): Mark as NO_RETURN.
...
* xterm.c (x_connection_closed): Likewise.
* sysdep.c (croak): Likewise.
* sound.c (sound_perror, alsa_sound_perror): Likewise.
* lisp.h (die, nsberror): Likewise.
2006-05-29 08:06:15 +00:00
Kim F. Storm
e8f6b0db19
(x_draw_stretch_glyph_string): Fix problems with invisible
...
cursor and erasing cursor on partially visible stretch glyph on left.
(x_draw_hollow_cursor): Compute x via get_phys_cursor_geometry.
2006-05-27 22:37:39 +00:00
Jan Djärv
32c1210748
* xterm.c: Remove declarations already in xterm.h
2006-05-23 07:13:05 +00:00
Richard M. Stallman
92daa8486f
Comment change.
2006-05-17 22:53:23 +00:00
Kim F. Storm
fb6341e7fd
(handle_one_xevent): Check that f is not NULL before
...
calling x_kill_gs_process.
2006-05-16 10:54:48 +00:00
Jan Djärv
79fb0ab7fa
* xterm.c (handle_one_xevent): Check that f is not NULL before
...
calling _XEditResCheckMessages.
2006-05-14 11:26:20 +00:00
Kim F. Storm
295fa1d472
(handle_one_xevent): Fix crash in 2006-03-24 change.
2006-05-14 00:30:46 +00:00
Kenichi Handa
3c5f949213
(x_term_init): Delete superfluous UNGCPRO.
2006-03-30 00:47:04 +00:00
Kim F. Storm
99c60e860c
(handle_one_xevent): Don't let key-press clear mouse face
...
on in toolbar window if mouse-highlight is an integer.
2006-03-24 15:24:20 +00:00
Jan Djärv
11e887e29e
* xterm.c: x_session_initialized new variable.
...
(x_term_init): Use x_session_initialized to check if
x_session_initialize should be called.
(x_initialize): Initialize x_session_initialized.
2006-03-21 14:39:41 +00:00
Andreas Schwab
c1fc674b45
* dispnew.c (init_display): Check DISPLAY here.
...
* emacs.c (main): Don't check here.
* xterm.c (x_display_ok): Don't use DISPLAY env var.
2006-03-20 22:41:23 +00:00
Kenichi Handa
5b2936ae6a
(x_term_init): Remove unnecessary GCPRO.
2006-03-20 06:23:55 +00:00
Chong Yidong
11aaf44796
* xterm.c (x_display_ok): Fix minor bug and compilation warnings.
2006-03-18 15:41:59 +00:00
Eli Zaretskii
3c7b6f9f1b
(x_display_ok): New function.
2006-03-18 13:48:57 +00:00
Chong Yidong
8a34117e23
* xterm.c (x_uncatch_errors): Block input for entire function.
2006-03-14 15:38:43 +00:00
Richard M. Stallman
e6feb692fb
(x_fully_uncatch_errors, x_catching_errors): New functions.
2006-03-11 15:20:09 +00:00
Eli Zaretskii
005a80de11
(x_draw_hollow_cursor): Subtract 1 from the last argument of XDrawRectangle.
2006-03-11 12:04:41 +00:00
Chong Yidong
4545fa2085
* xterm.h, xterm.c (x_uncatch_errors): Delete unneccessary
...
argument.
* xterm.c: (x_load_font, x_term_init, XTmouse_position)
(handle_one_xevent, x_connection_closed, x_list_fonts): No arg for
x_uncatch_errors.
* xselect.c (x_own_selection, x_decline_selection_request)
(x_reply_selection_request, x_get_foreign_selection)
(Fx_get_atom_name, Fx_send_client_event): Likewise.
* xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
Likewise.
2006-02-27 03:35:31 +00:00
Chong Yidong
9ba8e10d99
* xterm.h (x_catch_errors) Return value changed to void.
...
(x_uncatch_errors): Unused count argument deleted.
* xterm.c (x_catch_errors): Don't use record_unwind_protect, since
it can be called in a signal handler.
(x_catch_errors_unwind): Function deleted.
(x_uncatch_errors): Deallocate last x_error_message_stack struct.
(x_check_errors): Call x_uncatch_errors before signalling error.
(x_load_font, x_term_init, XTmouse_position, handle_one_xevent)
(x_connection_closed, x_list_fonts): Use new versions of
x_catch_errors and x_uncatch_errors.
* xselect.c (x_own_selection, x_decline_selection_request)
(x_reply_selection_request, x_get_foreign_selection)
(Fx_get_atom_name, Fx_send_client_event): Likewise.
* xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
Likewise.
* eval.c (record_unwind_protect): Add an assertion.
2006-02-25 23:20:10 +00:00
Richard M. Stallman
5eeafdc912
(x_catch_errors): Use xmalloc.
2006-02-20 01:18:43 +00:00
Jan Djärv
e92928a72d
* xterm.c (x_x_to_emacs_modifiers): Make non-static.
2006-02-14 10:01:23 +00:00
Richard M. Stallman
555ffb460d
Fix style of last change.
2006-02-13 21:42:43 +00:00
Jan Djärv
0c0351b599
* xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame).
2006-02-13 11:34:20 +00:00
Jan Djärv
a8f116e700
handle_one_xevent: Must note mouse movement even for nil frames for GTK,
...
in that case it is the tool bar.
2006-02-09 15:54:56 +00:00
Stefan Monnier
e5e26d8f7d
(x_catch_errors_unwind): Yet another int/Lisp_Object mixup.
2006-01-23 22:08:13 +00:00
Stefan Monnier
5badc98d73
Avoid allocating Lisp data from code that can be run from a signal handler.
...
(x_error_message): New var to replace x_error_message_string.
(x_error_catcher, x_catch_errors, x_catch_errors_unwind)
(x_check_errors, x_had_errors_p, x_clear_errors, x_error_handler)
(syms_of_xterm): Use it instead of x_error_message_string.
2006-01-23 02:44:02 +00:00
Kenichi Handa
71578d4f96
(handle_one_xevent): Handle keysyms 0x1000000..0x10000FF.
2006-01-19 02:12:45 +00:00
Chong Yidong
9f7b984bae
* xfns.c (xg_set_icon_from_xpm_data): New function.
...
* gnu.h (gnu_xpm_bits): Renamed from gnu_bits.
(gnu_xbm_bits): Renamed from gnu_bits (xbm version).
* xterm.c (x_bitmap_icon): Use the xpm if available.
2005-11-16 16:38:48 +00:00
Chong Yidong
786a43d6cf
* gnu.h (gnu_bits): Xpm version of the new Emacs icon.
...
* xterm.c (x_bitmap_icon): Use the xpm if available.
* image.c (x_create_bitmap_from_xpm_data): New function.
2005-11-16 05:49:18 +00:00
Kim F. Storm
0a3fde9d0e
Undo 2005-10-23 change.
...
(last_mouse_glyph_frame): New var.
(note_mouse_movement): Say mouse moved if current frame differs
from last_mouse_glyph_frame, and update last_mouse_glyph_frame.
(XTmouse_position): Set last_mouse_glyph_frame.
(handle_one_xevent): Clear last_mouse_glyph_frame [instead of
last_mouse_glyph] on mouse up/down event.
2005-10-24 14:59:42 +00:00
Kenichi Handa
3d930b1785
(handle_one_xevent): Handle keysyms directly mapped to
...
supported Unicode characters.
2005-10-24 08:05:36 +00:00