aboutsummaryrefslogtreecommitdiffstats
path: root/src/widget.c
Commit message (Collapse)AuthorAgeFilesLines
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* Make (few) trivial substitutions for renamed andKim F. Storm2003-05-241-32/+28
| | | | new macros in dispextern.h, frame.h and window.h.
* Use generic compute_fringe_widths.Kim F. Storm2003-03-121-2/+2
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-21/+21
|
* Comment change.Richard M. Stallman2002-04-191-0/+2
|
* (set_frame_size): Don't call change_frame_size.Richard M. Stallman2002-03-301-0/+4
|
* (set_frame_size): Use x_compute_fringe_widths.Kim F. Storm2001-12-011-4/+2
| | | | (EmacsFrameSetCharSize): Ditto.
* Fringe cleanup.Kim F. Storm2001-11-161-4/+4
| | | | Use renamed symbols.
* Don't define max.Pavel Janík2001-10-241-2/+0
|
* (EmacsFrameSetCharSize): Turn off atimers and blockGerd Moellmann2001-06-271-1/+17
| | | | | | SIGIO around the code where Xt might wait for a ConfigureNotifyEvent. (toplevel): Include <signal.h> and syssignal.h.
* (EmacsFrameSetCharSize): Set XtNwaitForWm dependingGerd Moellmann2001-06-251-13/+31
| | | | on the value of the wait-for-wm frame parameter.
* Include keyboard.h before frame.h.Eli Zaretskii2001-05-121-0/+1
|
* (EmacsFrameSetCharSize): Comment update.Gerd Moellmann2001-03-131-2/+4
|
* (EmacsFrameSetCharSize): Remove unused variables `ac'Eli Zaretskii2001-01-021-2/+0
| | | | and al[].
* (EmacsFrameDestroy): Call x_free_gcs instead ofGerd Moellmann2000-12-071-5/+2
| | | | freeing GCs here.
* (set_frame_size, update_wm_hints, EmacsFrameSetValues):Gerd Moellmann2000-08-031-9/+9
| | | | | | Use NULL instead of 0 at the end of variable argument list of XtVaGetValues and XtVaSetValues, because 0 fails on systems where sizeof (int) < sizeof (void *).
* (EmacsFrameRealize): Fix typo.Gerd Moellmann2000-06-221-1/+1
|
* (EmacsFrameRealize): Remove SubstructureRedirectMask.Gerd Moellmann2000-06-221-2/+6
|
* (EmacsFrameSetCharSize): Change size of children firstGerd Moellmann2000-01-171-14/+11
| | | | | because of problems with main window geometry management under Lesstif.
* (set_frame_size, EmacsFrameSetCharSize): RemoveGerd Moellmann1999-09-151-22/+11
| | | | | | | unused variables. (mark_shell_size_user_specified): Put in #if 0 because not used. (create_frame_gcs): Put in #if 0 because currently unused. (first_frame_p): Ditto.
* (set_frame_size): Set flags_area_extra toGerd Moellmann1999-08-301-2/+2
| | | | | FRAME_FLAGS_AREA_WIDTH instead of 2 * that width. (EmacsFrameSetCharSize): Ditto.
* Call change_frame_size and do_pending_window_change withGerd Moellmann1999-08-211-3/+3
| | | | new parameter.
* (EmacsFrameSetCharSize): Don't call do_pending_window_change here.Richard M. Stallman1999-08-021-2/+0
|
* (EmacsFrameSetCharSize): Don't add XtNborderWidthGerd Moellmann1999-07-261-3/+5
| | | | value to frame width and height.
* (EmacsFrameSetCharSize): Take widget's border widthGerd Moellmann1999-07-211-12/+30
| | | | | | | | | | | | | | | | | | | | | | | into account. (set_frame_size): Use FRAME_SCROLL_BAR_COLS to determine vertical_scroll_bar_extra. (EmacsFrameSetCharSize): Ditto. (EmacsFrameDestroy): Remove call to free_frame_faces; it's also called from x_destroy_window. Since this function is called from X, freeing stuff allocated with xmalloc is dangerous here, anyway. (widget_store_internal_border): Return void. (create_frame_gcs): Don't allocate relief GCs. (setup_frame_gcs): Don't change relief GCs. (setup_frame_gcs): Initialize relief GC's to line width 1; remove references to relief_gc_line_width. (create_frame_gcs): Create GC's for relief drawing. (setup_frame_gcs): Initialize them. (EmacsFrameDestroy): Free them. (set_frame_size): Double trunc_area_extra. (EmacsFrameSetCharSize): Ditto. (set_frame_size): Set it. (EmacsFrameSetCharSize): Ditto.
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-0/+2
|
* Fix typo in comment.Karl Heuer1997-03-171-1/+1
|
* (EmacsFrameResize): Use cancel_mouse_face.Richard M. Stallman1996-10-311-0/+2
|
* (widget_store_internal_border): New function.Richard M. Stallman1996-09-271-11/+10
| | | | (EmacsFrameSetValues): Undo previous change.
* (EmacsFrameSetValues): Copy internal_border_widthRichard M. Stallman1996-09-231-0/+11
| | | | from the Emacs frame if caller isn't changing it.
* (EmacsFrameSetCharSize): Call do_pending_window_change.Richard M. Stallman1996-08-051-0/+2
|
* (EmacsFrameRealize): Use STANDARD_EVENT_SET.Richard M. Stallman1996-04-181-7/+2
|
* (EmacsFrameResize): We may be called from an interrupt,Richard M. Stallman1996-03-281-1/+1
| | | | so delay the resize operation.
* (update_from_various_frame_slots)Richard M. Stallman1996-03-171-2/+2
| | | | (update_various_frame_slots): Take account of menubar_height.
* (pixel_to_char_size): Cast args to int.Richard M. Stallman1996-03-061-2/+2
|
* Comment censored.Karl Heuer1996-02-211-1/+11
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* Comment fixes.Karl Heuer1996-01-051-1/+1
|
* Do renamings:Karl Heuer1995-07-261-33/+33
| | | | frame->display => frame->output, struct x_display -> struct x_output.
* (EmacsFrameSetCharSize): Manually alter the heightKarl Heuer1995-06-111-2/+26
| | | | | | | | | and width of the outer widget (and the width of the column widget) carefully using deltas. Set update_hints_inhibit nonzero while updating. Then call update_wm_hints explicitly. (update_wm_hints): Use 0 for min_rows, min_cols. Do nothing if update_hints_inhibit is nonzero.
* (EmacsFrameDestroy): Block and unblock input.Karl Heuer1995-06-011-1/+3
|
* (create_frame_gcs, setup_frame_gcs): Reformat long statements.Karl Heuer1995-05-241-22/+23
|
* (create_frame_gcs): Cast args of XCreateGC.Karl Heuer1995-05-231-5/+9
| | | | (setup_frame_gcs): Cast args of XCreatePixmapFromBitmapData.
* (set_frame_size): Set app_shell and wmshell the same.Richard M. Stallman1994-10-261-2/+2
|
* (EmacsFrameSetCharSize): Use lw_refigure_widget() for widget setPaul Reilly1994-10-021-4/+3
| | | | independence.
* (set_frame_size, EmacsFrameSetCharSize): Use new width formula.Karl Heuer1994-09-281-5/+10
|
* (set_frame_size, EmacsFrameSetCharSize): ChangeKarl Heuer1994-09-201-2/+2
| | | | VERTICAL_SCROLL_BAR_PIXEL_WIDTH to FRAME_SCROLL_BAR_PIXEL_WIDTH.
* (EmacsFrameSetCharSize): Delete the code to make rows at least 3.Richard M. Stallman1994-07-191-1/+0
|
* Put stdio.h after config.h.Richard M. Stallman1994-06-151-1/+1
|
* (EmacsFrameSetCharSize): Once again preserve x and y pos,Richard M. Stallman1994-05-191-0/+7
| | | | but not the same way as before.