aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfns.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename everything containing *busy_cursor* and similarGerd Moellmann2001-02-211-83/+85
| | | | | | | to *hourglass*. (syms_of_w32fns): Rename x-busy-pointer-shape to x-hourglass-pointer-shape, display-busy-cursor to display-hourglass, busy-cursor-delay to hourglass-delay.
* (x_set_font): If font hasn't changed, avoid recomputingGerd Moellmann2001-02-021-0/+2
| | | | faces and other things.
* (x_set_tool_bar_lines): Do nothing If frame isGerd Moellmann2001-02-011-0/+4
| | | | minibuffer-only,
* (Fx_create_frame): Add the tool bar height to the frameGerd Moellmann2001-01-301-8/+30
| | | | height.
* (xic_style): New variable.Gerd Moellmann2001-01-261-1/+2
| | | | | (create_frame_xic): Move static variable to global scope for the case that `static' get's defined away.
* * xfns.c (x_set_tool_bar_lines): Use x_clear_area instead ofGerd Moellmann2001-01-251-2/+2
| | | | XClearArea.
* (Fx_file_dialog): Remove a workaround for LesstifGerd Moellmann2001-01-251-28/+0
| | | | which doesn't seem necessary anymore with Lesstif 0.92.
* (x_create_tip_frame): Prevent changing the tooltip'sGerd Moellmann2001-01-241-6/+18
| | | | | background color by specifying a color for the default font in .Xdefaults.
* (Qcancel_timer): New variable.Gerd Moellmann2001-01-181-38/+9
| | | | | | | | (syms_of_xfns): Initialize and staticpro it. (Fx_hide_tip, Fx_show_tip): Use it. (Fx_show_tip): Make sure to set tip_timer to nil when canceling the timer. (toplevel): Lisp code for generating parts of syms_of_xfns removed.
* (QCconversion): Replaces QCalgorithm.Gerd Moellmann2001-01-171-21/+21
|
* (Fimage_size, image_ascent): Adapt to the change of imageGerd Moellmann2001-01-121-13/+32
| | | | | | | | | | | | margins. (lookup_image): If `:margin MARGIN' is specified, and MARGIN is a pair of integers `(X . Y)', use X for the horizontal and Y for the vertical margin. (IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR): New enumerator. (parse_image_spec): Check it. (xbm_format, xpm_format, pbm_format, png_format, jpeg_format) (tiff_format, gif_format, gs_format): Use IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR for :margin.
* (x_set_mouse_color): Fix color allocation.Gerd Moellmann2001-01-121-5/+6
|
* (Fx_backspace_delete_keys_p): Use XkbGetMap andGerd Moellmann2001-01-101-15/+26
| | | | XkbGetNames instead of XkbGetKeyboard.
* * xfns.c (xpm_load) [!ALLOC_XPM_COLORS]: Declare local variable I in inner ↵Ken Raeburn2001-01-081-0/+2
| | | | block.
* Update copyright.Gerd Moellmann2001-01-041-1/+1
|
* (x_create_tip_frame): Preserve the value ofGerd Moellmann2001-01-041-21/+92
| | | | | | | | | face_change_count around the creation of the tip frame. (last_show_tip_args): New variable. (compute_tip_xy): New function. (Fx_show_tip): Reuse an existing tip frame, if possible. (syms_of_xfns): Initialize and staticpro last_show_tip_args.
* (x_create_tip_frame): Call face-set-after-frame-default,Gerd Moellmann2001-01-041-0/+7
| | | | like in Fx_create_frame.
* (x_display_info_for_name): Cast 0 to "char *" in the callEli Zaretskii2001-01-021-6/+4
| | | | | | | | | to x_term_init. (lookup_image): Remove unused variable `file'. (xbm_load): Remove unused variables `bitmap_data', `height', and `width'. Remove function-local variable `i', leave the block-local one. (gif_load): Remove unused variable `inc'.
* (Fx_backspace_delete_keys_p): Check library and serverGerd Moellmann2000-12-281-3/+16
| | | | XKB versions. Call XkbFreeKeyboard with 2nd arg 0.
* Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG.Gerd Moellmann2000-12-281-4/+4
|
* (show_busy_cursor): Check for live frames moreGerd Moellmann2000-12-181-21/+31
| | | | thoroughly.
* (unwind_create_frame): Return t if frame was deleted.Gerd Moellmann2000-12-171-6/+11
| | | | | | Don't alter tip_frame or tip_window. (unwind_create_tip_frame): Set tip_frame to nil only if frame was deleted.
* (x_create_tip_frame): Use unwind_create_tip_frame,Gerd Moellmann2000-12-151-1/+1
| | | | not unwind_create_frame.
* (Fx_backspace_delete_keys_p): New function.Gerd Moellmann2000-12-141-1/+64
| | | | (syms_of_xfns): Defsubr it.
* (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]:Gerd Moellmann2000-12-131-5/+75
| | | | | | | New variables. (unwind_create_frame, unwind_create_tip_frame): New functions. (Fx_create_frame, x_create_tip_frame): Handle errors signaled while a frame is only partially constructed.
* (gray_bitmap_bits): Declare `char *'.Gerd Moellmann2000-12-131-1/+1
|
* (Fx_hide_tip): Simplified.emacs-pretest-21.0.93Gerd Moellmann2000-12-121-21/+12
|
* (Fx_hide_tip): Fix last change.Gerd Moellmann2000-12-111-1/+6
|
* (Fx_hide_tip): Avoid unnecessary work when there'sGerd Moellmann2000-12-111-15/+28
| | | | | | | | nothing to do. Bind inhibit-quit. (tip_frame): Make it a Lisp_Object. (x_create_tip_frame): Set tip_frame after it has been added to Vframe_list. (Fx_show_tip): Don't set tip_frame here.
* (x_free_gcs): New function.Gerd Moellmann2000-12-071-10/+49
|
* (Fx_create_frame): Reintroduce the call toGerd Moellmann2000-11-291-0/+7
| | | | face-set-after-frame-defaults.
* (Vx_window_horizontal_drag_shape): New variable.Gerd Moellmann2000-11-281-2/+33
| | | | | (syms_of_xfns): DEFVAR_LISP it. (x_set_mouse_color): Create frame's horizontal_drag_cursor.
* (x_set_tool_bar_lines): Clear internal border whenGerd Moellmann2000-11-221-0/+15
| | | | tool bar gets smaller.
* (Fx_hide_tip) [USE_LUCID]: Add a hack to redisplayGerd Moellmann2000-11-211-1/+20
| | | | the menu bar when the tooltip is unmapped.
* (x_create_tip_frame): Use CWSaveUnder only if theGerd Moellmann2000-11-201-1/+4
| | | | screen supports it.
* (x_set_tool_bar_lines): When clearing the frame, alsoGerd Moellmann2000-11-181-0/+1
| | | | clear current matrices.
* (Fx_show_tip): Use default y-offset of -10 so thatGerd Moellmann2000-11-181-2/+2
| | | | the tooltip obscures less text under it.
* (x_create_bitmap_from_file, x_find_image_file): Use new openp return protocol.Miles Bader2000-11-131-4/+1
|
* (x_encode_text): Suppress producing escape sequences for composition.Kenichi Handa2000-11-061-0/+2
|
* (x_to_xcolors, x_set_mouse_color, lookup_pixel_color)Gerd Moellmann2000-10-181-9/+7
| | | | (x_to_xcolors, png_load): Use x_query_color.
* (pbm_format): Add :foreground and :background keywords.Gerd Moellmann2000-10-161-4/+19
| | | | | | (PBM_FOREGROUND, PBM_BACKGROUND): New enumerators. (xbm_load): Recoghnize foreground and background color specifications.
* Revert last change.Miles Bader2000-10-161-61/+9
|
* (xpm_lookup_color):Miles Bader2000-10-161-9/+61
| | | | Make h unsigned to avoid wackiness when the high bit gets set.
* (Fx_create_frame): Don't bother callingStefan Monnier2000-10-121-3/+0
| | | | face-set-after-frame-default since the caller does it for us anyway.
* (image_ascent): Rearrange ascent calculation for the has-a-font case.Miles Bader2000-10-051-1/+6
|
* (x_set_tool_bar_lines): Clear frame when tool barGerd Moellmann2000-09-291-0/+13
| | | | disappears.
* (x_set_tool_bar_lines): Don't use more lines for theGerd Moellmann2000-09-271-6/+21
| | | | | tool-bar than is available. (x_change_window_heights): Renamed from x_set_menu_bar_lines_1.
* (x_decode_color): Don't return a Lisp_Object.Gerd Moellmann2000-09-261-2/+3
|
* (Fx_create_frame): Set default frame parameter valueGerd Moellmann2000-09-211-1/+1
| | | | for tool-bar-lines to 1.
* (xbm_scan): Allow C-style comments.Gerd Moellmann2000-09-201-0/+14
|