aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * xterm.c (handle_one_xevent): Don't queue X selection eventsKim F. Storm2004-11-051-74/+7
| | | | | | | | | here, it may be too late if we start queuing after we have already stored some selection events into the kbd buffer. (struct selection_event_queue, queue, x_queue_selection_requests) (x_queue_event, x_unqueue_events, x_start_queuing_selection_requests) (x_stop_queuing_selection_requests): Remove/move to xselect.c. (x_catch_errors_unwind): Block input around final XSync.
* * xterm.c (x_window_to_scroll_bar): Only callJan Djärv2004-11-021-2/+2
| | | | xg_get_scroll_id_for_window if toolkit scroll bars are used.
* * xterm.h (x_output): New member `xic_base_fontname'.Jan Djärv2004-10-211-5/+1
| | | | | | | | | | | | | (FRAME_XIC_BASE_FONTNAME): New macro. (xic_free_xfontset): Declare. * xfns.c (xic_create_xfontset): Share fontsets between frames based on base_fontname. (xic_free_xfontset): New function. (free_frame_xic): Use it. (xic_set_xfontset): Ditto. * xterm.c (xim_destroy_callback): Ditto.
* * xterm.c (x_clear_frame): Remove call to xg_frame_clearedJan Djärv2004-10-191-20/+10
| | | | | | (x_scroll_bar_create, XTset_vertical_scroll_bar): Remove arguments left and width to xg_update_scrollbar_pos. (XTset_vertical_scroll_bar): Do x_clear_area for USE_GTK also.
* (x_redisplay_interface): Fix flush_display_optional.Kim F. Storm2004-10-121-1/+1
|
* (x_update_window_end): Fix flicker on vertical line betweenKim F. Storm2004-10-071-3/+2
| | | | | windows. Update vertical line after drawing window fringes, but only if actually drawing any bitmaps--or there is no fringe.
* * xterm.c (x_find_modifier_meanings): Ignore any Super or Hyper forJan Djärv2004-10-051-5/+18
| | | | | a row if Alt or Meta has been found for that row. Also stop scanning for Keysyms for that row.
* (XTset_vertical_scroll_bar): Improve handling of scrollKim F. Storm2004-10-041-8/+15
| | | | | | | bars with fractional column width. If scroll bar separates two windows, move it towards the window it belongs to. Only update the padding area below the scroll bar widget when necessary, i.e. when scroll bar widget is created, moved, or resized.
* (x_term_init): Work around a bug in some X servers.Stefan Monnier2004-09-181-2/+4
|
* * xterm.c (x_catch_errors_unwind): Do not XSync if display has closed.Jan Djärv2004-08-241-4/+6
|
* Rename wait_reading_process_input to wait_reading_process_output.Kim F. Storm2004-08-201-1/+1
|
* (x_detect_focus_change): Remove unused var `nr_events'.Stefan Monnier2004-06-301-2/+0
| | | | (x_calc_absolute_position): Remove unused var `child'.
* * xterm.c (x_draw_image_foreground_1): Subtract slice.x/y fromJan Djärv2004-06-171-2/+2
| | | | clip_x/y_origin.
* Update copyright.Kim F. Storm2004-06-161-1/+1
|
* (x_draw_hollow_cursor): Fix height of box for narrow lines.Kim F. Storm2004-04-241-1/+2
|
* (x_draw_relief_rect): Add top_p and bot_p args.Kim F. Storm2004-04-201-64/+90
| | | | | | | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. (x_draw_image_foreground, x_draw_image_relief) (x_draw_image_foreground_1, x_draw_image_glyph_string): Draw sliced images.
* (handle_one_xevent): Set mouse_face_hidden after clearing highlight.Kim F. Storm2004-04-051-1/+1
|
* (x_initialize): Initialize ignore_next_mouse_click_timeout.Kim F. Storm2004-03-291-0/+1
|
* (x_mouse_click_focus_ignore_position): New var.Kim F. Storm2004-03-291-8/+48
| | | | | | | (syms_of_xterm): DEFVAR_BOOL it. (ignore_next_mouse_click_timeout): New var. (handle_one_xevent): Clear it on KeyPress, set it on EnterNotify. Use it to filter mouse clicks following focus event.
* * xterm.c (handle_one_xevent): Do not pass key press events toJan Djärv2004-03-201-0/+8
| | | | GTK.
* xfns.c (x_window): Fixed indentationJan Djärv2004-02-281-58/+10
| | | | | | * xterm.c (x_calc_absolute_position): Call x_real_positions to get WM window sizes and use those to calculate position. (x_set_offset): Removed code commented out.
* (x_focus_changed, x_detect_focus_change): RemoveKim F. Storm2004-02-271-485/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | numchars arg. Always store event into bufp arg. Return nothing. Callers changed accordingly. (glyph_rect): Simplify. (STORE_KEYSYM_FOR_DEBUG): New macro. (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc. (current_bufp, current_numcharsp) [USE_GTK]: Remove. (current_hold_quit) [USE_GTK]: Add. (event_handler_gdk): Adapt to new handle_one_xevent. (handle_one_xevent): Remove bufp_r and numcharsp args. Add hold_quit arg. Rework to use just one, local, inev input_event. Store inev directly in fifo using kbd_buffer_store_event_hold. Update count in one place. Postpone call to gen_help_event until inev is stored; use new local do_help for this. Simplify handling of keysyms (consolidate common code). Fix bug where count was updated with nchars instead of nbytes. Remove local emacs_event in handing of ButtonPress event; just use inev instead (so no reason to copy it later). Remove `out' label. Rename label `ret' to `done'; add various `goto done' to clarify code flow in deeply nested blocks. (x_dispatch_event): Simplify as handle_one_xevent now calls kbd_buffer_store_event itself. (XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit arg. Call handle_one_xevent with new arglist. Store event from x_session_check_input in fifo. [USE_GTK]: Setup current_hold_quit. Decrement handling_signal before unblocking input. (x_initialize) [USE_GTK]: Initialize current_count.
* (x_draw_fringe_bitmap): Handle wider bitmaps (max 16 bits).Kim F. Storm2004-02-131-1/+6
|
* (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps.Kim F. Storm2004-02-081-5/+31
| | | | | | Use cursor color for displaying cursor in fringe. (x_redisplay_interface): Add null handlers for define_fringe_bitmap and destroy_fringe_bitmap functions.
* * xterm.c (handle_one_xevent): Call x_handle_dnd_message forJan Djärv2004-02-031-1/+19
| | | | ClientMessages.
* (x_update_window_end): Call draw_window_fringes.Kim F. Storm2004-01-161-6/+27
| | | | | | | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p in row instead of actually drawing fringe bitmaps. (x_draw_fringe_bitmap): Handle bottom aligned bitmaps. (x_draw_window_cursor): Draw cursor in fringe.
* * xterm.c (handle_one_xevent): Don't handle characters that are partJan Djärv2004-01-161-0/+5
| | | | of an old style (XLookupString) compose sequence.
* (Qface, Qmouse_face): Remove unused externs.Kim F. Storm2003-12-281-8/+14
| | | | | (x_draw_hollow_cursor): Draw cursor using glyph's rather than row's ascent and descent, to get a sensible height on tall rows.
* * xterm.c (x_window_to_scroll_bar): Move check of display toJan Djärv2003-11-171-4/+2
| | | | where window_id is compared.
* Implement multiple display handling for GTK.Jan Djärv2003-11-161-89/+123
|
* * xterm.c (x_detect_focus_change): Do not change focus frame forJan Djärv2003-11-141-10/+16
| | | | Enter/LeaveNotify if the current focus frame has explicit focus.
* (x_list_fonts): Fix excluding of auto-scaled fonts.Kenichi Handa2003-11-111-10/+13
|
* * xterm.c (XAW_ARROW_SCROLLBARS): Define it for Xaw 1.5E.Jan Djärv2003-11-081-0/+1
|
* * xterm.c (x_term_init): Fix formatting.Jan Djärv2003-11-031-1/+1
|
* * xterm.c (x_term_init): For GTK part, increase x_initializedJan Djärv2003-10-311-1/+2
| | | | to check for more than one display. Use error instead of return 0.
* * w32term.c (w32_read_socket): Remove call to x_check_fullscreen_move,Jan Djärv2003-10-051-5/+10
| | | | | | | | | | | | | | | that function is removed. * xterm.c (x_set_offset): Use move_offset_left/top instead of x/y_pixels_outer_diff. (x_check_expected_move): Calculate move_offset_left/top. * xterm.h (struct x_output): New members: move_offset_top/left. * frame.c (x_set_frame_parameters): x_fullscreen_move removed, call x_set_offset directly. * frame.h (enum): FULLSCREEN_MOVE_WAIT removed.
* Fix memory leaks (from YAMAMOTO Mitsuharu)Jan Djärv2003-10-051-0/+14
|
* Make (modify-frame-parameters nil '((top . 0))) work for all typesJan Djärv2003-10-051-18/+36
| | | | of window managers in X.
* (x_load_font): Fix previous change.Kenichi Handa2003-10-021-1/+1
|
* (x_load_font): Clear all members of FONTP before start filling them.Kenichi Handa2003-10-021-0/+1
|
* (x_bitmap_mask): Declare.Dave Love2003-09-261-1/+1
|
* * xterm.c (x_set_offset): Take window manager decorationsJan Djärv2003-09-191-1/+4
| | | | into account.
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* Fix pixel calculation for TrueVisuals.Jan Djärv2003-08-301-0/+42
|
* Create and initialize a client leader window so session managementJan Djärv2003-08-211-7/+10
| | | | doesn't restart Emacs twice.
* Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-20Miles Bader2003-08-191-1/+1
| | | | src/xterm.c (x_term_init): Correctly use result of Ffile_readable_p.
* * xfns.c (xg_set_icon): Rewrite to compile with GTK 2.0 and 2.2.Jan Djärv2003-07-311-1/+1
| | | | * xterm.c (x_bitmap_icon): Return if xg_set_icon succeeds.
* (xim_open_dpy, xim_initialize, xim_close_dpy):Richard M. Stallman2003-07-291-0/+6
| | | | Conditionalize XIM code on HAVE_XIM.
* (xim_initialize): Redo 6/24 change.Richard M. Stallman2003-07-171-1/+1
|
* (x_bitmap_icon,x_wm_set_icon_pixmap): Modify to add mask, and use the Gtk+Juanma Barranquero2003-07-131-14/+31
| | | | function gtk_window_icon_from_file if available.