aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
Commit message (Collapse)AuthorAgeFilesLines
* (x_term_init): Delete superfluous UNGCPRO.Kenichi Handa2006-03-301-2/+0
|
* (handle_one_xevent): Don't let key-press clear mouse faceKim F. Storm2006-03-241-1/+2
| | | | on in toolbar window if mouse-highlight is an integer.
* * xterm.c: x_session_initialized new variable.Jan Djärv2006-03-211-1/+8
| | | | | | (x_term_init): Use x_session_initialized to check if x_session_initialize should be called. (x_initialize): Initialize x_session_initialized.
* * dispnew.c (init_display): Check DISPLAY here.Andreas Schwab2006-03-201-6/+2
| | | | | * emacs.c (main): Don't check here. * xterm.c (x_display_ok): Don't use DISPLAY env var.
* (x_term_init): Remove unnecessary GCPRO.Kenichi Handa2006-03-201-2/+0
|
* * xterm.c (x_display_ok): Fix minor bug and compilation warnings.Chong Yidong2006-03-181-2/+3
|
* (x_display_ok): New function.Eli Zaretskii2006-03-181-0/+18
|
* * xterm.c (x_uncatch_errors): Block input for entire function.Chong Yidong2006-03-141-5/+4
|
* (x_fully_uncatch_errors, x_catching_errors): New functions.Richard M. Stallman2006-03-111-0/+17
|
* (x_draw_hollow_cursor): Subtract 1 from the last argument of XDrawRectangle.Eli Zaretskii2006-03-111-1/+1
|
* * xterm.h, xterm.c (x_uncatch_errors): Delete unneccessaryChong Yidong2006-02-271-15/+12
| | | | | | | | | | | | | | | 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.
* * xterm.h (x_catch_errors) Return value changed to void.Chong Yidong2006-02-251-60/+36
| | | | | | | | | | | | | | | | | | | | | | | (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.
* (x_catch_errors): Use xmalloc.Richard M. Stallman2006-02-201-1/+1
|
* * xterm.c (x_x_to_emacs_modifiers): Make non-static.Jan Djärv2006-02-141-3/+2
|
* Fix style of last change.Richard M. Stallman2006-02-131-3/+2
|
* * xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame).Jan Djärv2006-02-131-0/+4
|
* handle_one_xevent: Must note mouse movement even for nil frames for GTK,Jan Djärv2006-02-091-0/+11
| | | | in that case it is the tool bar.
* (x_catch_errors_unwind): Yet another int/Lisp_Object mixup.Stefan Monnier2006-01-231-1/+2
|
* Avoid allocating Lisp data from code that can be run from a signal handler.Stefan Monnier2006-01-231-20/+36
| | | | | | | (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.
* (handle_one_xevent): Handle keysyms 0x1000000..0x10000FF.Kenichi Handa2006-01-191-14/+31
|
* * xfns.c (xg_set_icon_from_xpm_data): New function.Chong Yidong2005-11-161-7/+22
| | | | | | | * 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.
* * gnu.h (gnu_bits): Xpm version of the new Emacs icon.Chong Yidong2005-11-161-0/+5
| | | | | | * xterm.c (x_bitmap_icon): Use the xpm if available. * image.c (x_create_bitmap_from_xpm_data): New function.
* Undo 2005-10-23 change.Kim F. Storm2005-10-241-3/+8
| | | | | | | | | (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.
* (handle_one_xevent): Handle keysyms directly mapped toKenichi Handa2005-10-241-0/+21
| | | | supported Unicode characters.
* * xterm.c (note_mouse_movement): Always call note_mouse_highlightJan Djärv2005-10-231-4/+5
| | | | so tool tips don't interfere with press on tool bar button.
* (x_calc_absolute_position): Remove unused vars win_x, win_y.Kim F. Storm2005-10-201-1/+0
|
* (note_mouse_movement): Return 1 if mouse moved; 0 otherwise.Kim F. Storm2005-10-131-5/+9
| | | | | (handle_one_xevent): Only clear help_echo_string; restore it if note_mouse_movement didn't record any mouse movement.
* (note_mouse_movement): Undo last change.YAMAMOTO Mitsuharu2005-10-121-2/+0
|
* (handle_one_xevent): Clear last_mouse_glyph on mouse up/down.Kim F. Storm2005-10-121-0/+1
|
* *** empty log message ***YAMAMOTO Mitsuharu2005-10-121-0/+2
|
* (glyph_rect, remember_mouse_glyph): Remove X versions.Kim F. Storm2005-10-111-96/+2
| | | | | (note_mouse_movement, XTmouse_position): Use generic remember_mouse_glyph, add last_mouse_glyph arg.
* (glyph_rect): Return 0 if position is outside text area.Kim F. Storm2005-10-101-1/+5
|
* (remember_mouse_glyph): New function.Jason Rumney2005-10-101-26/+43
| | | | | | | | (note_mouse_movement): Use it to remember the current glyph if changed. (XTmouse_position): Fix calculation of fake glyph under mouse. Move code to calculate glyph under mouse into remember_mouse_glyph.
* Rename member for_overlaps_p in struct glyph_string to for_overlaps.YAMAMOTO Mitsuharu2005-10-071-6/+6
|
* * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correctDan Nicolaescu2005-09-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | type. * xterm.c (handle_one_xevent, handle_one_xevent): Likewise. * unexelf.c (fatal): Fix prototype. * term.c (fatal): Implement using varargs. * regex.c (re_char): Move typedef ... * regex.h (re_char): ... here. (re_iswctype, re_wctype, re_set_whitespace_regexp): New prototypes. * emacs.c (malloc_set_state): Fix return type. (endif): Fix type. * lisp.h (fatal): Add argument types. * dispextern.h (fatal): Delete prototype. * systime.h: (make_time): Prototype moved from ... * editfns.c (make_time): ... here. * editfns.c: Move systime.h include after lisp.h. * dired.c: * xsmfns.c: * process.c: Likewise. * alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook): Add parameter types. (__malloc_hook, __realloc_hook, __free_hook): Fix prototypes. (emacs_blocked_free): Change definition to match __free_hook. (emacs_blocked_malloc): Change definition to match __malloc_hook. (emacs_blocked_realloc): Change definition to match __realloc_hook.
* (handle_one_xevent): Refer to union field to match the typeDan Nicolaescu2005-09-271-2/+2
| | | | required by the function definition.
* * xlwmenu.c (find_next_selectable):Dan Nicolaescu2005-09-271-2/+0
| | | | | | | | | | | | | | | | | | | | | | (find_prev_selectable): Add missing parameter declarations. * xfaces.c (lookup_derived_face): Add parameter type. * xdisp.c (cursor_row_fully_visible_p): Add parameter type. * marker.c (verify_bytepos): Add parameter type. * process.c (get_operating_system_release): Move prototype ... * systime.h (get_operating_system_release): ... here. * xterm.c (set_vertical_scroll_bar): Move prototype ... * xterm.h: ... here. * fns.c (internal_equal, seed_random): Fix prototypes. (internal_equal): Add missing parameter.
* * xterm.c (x_wm_set_icon_pixmap): Move GTK specific code toJan Djärv2005-08-161-6/+1
| | | | xg_set_frame_icon and call it.
* * xterm.c (x_wm_set_icon_pixmap): Call xg_get_pixbuf_from_pix_and_maskJan Djärv2005-08-131-3/+15
| | | | | to get an GTK icon and set it with GTK functions to avoid having GTK override an icon set with just X functions.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+1
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* * xterm.c (handle_one_xevent): bzero compose_status when nbytesJan Djärv2005-06-301-0/+1
| | | | is not zero.
* (x_draw_vertical_window_border): Use foreground ofJuri Linkov2005-06-301-0/+6
| | | | VERTICAL_BORDER_FACE_ID for vertical border line.
* (x_create_toolkit_scroll_bar): Use XtNarrowScrollbars if available.Stefan Monnier2005-06-061-2/+5
|
* (handle_one_xevent): Also ignore mouse motion justKim F. Storm2005-06-031-6/+6
| | | | before a button release event.
* (x_encode_char): Call check_ccl_update in advance.Kenichi Handa2005-05-271-0/+1
|
* Fix previous change.Richard M. Stallman2005-05-101-2/+2
|
* (noinclude): Add #undef.Richard M. Stallman2005-05-101-0/+6
|
* Include ThreeD.h for XtNbeNiceToColormap.Stefan Monnier2005-03-311-24/+5
| | | | | | | (x_create_toolkit_scroll_bar): Test XtNbeNiceToColormap before using it. Use XtNtopShadowPixel and XtNbottomShadowPixel. (x_set_toolkit_scroll_bar_thumb): Remove ugly old hack that didn't really work and that breaks with some versions of Xaw3d.
* (handle_one_xevent): Use union of struct input_event andAndreas Schwab2005-02-171-54/+57
| | | | | struct selection_input_event to avoid aliasing issues. (SET_SAVED_MENU_EVENT): Adapt reference to inev.