summaryrefslogtreecommitdiff
path: root/src/widget.c
AgeCommit message (Collapse)Author
2007-07-25Switch license to GPLv3 or later.Glenn Morris
2007-03-22(EmacsFrameSetCharSize): Catch X errors.Chong Yidong
2007-01-14Update copyright for years from Emacs 21 to present (mainly addingGlenn Morris
2001).
2006-02-06Update years in copyright notice; nfc.Thien-Thi Nguyen
2005-08-07Update years in copyright notice; nfc.Thien-Thi Nguyen
2005-07-04Update FSF's address.Lute Kamstra
2004-07-21* widget.c (EmacsFrameDestroy): Don't abort if normal_gc is 0.Jan Djärv
2003-09-01Add arch taglinesMiles Bader
2003-05-24Make (few) trivial substitutions for renamed andKim F. Storm
new macros in dispextern.h, frame.h and window.h.
2003-03-12Use generic compute_fringe_widths.Kim F. Storm
2003-02-04Trailing whitespace deleted.Juanma Barranquero
2002-04-19Comment change.Richard M. Stallman
2002-03-30(set_frame_size): Don't call change_frame_size.Richard M. Stallman
2001-12-01(set_frame_size): Use x_compute_fringe_widths.Kim F. Storm
(EmacsFrameSetCharSize): Ditto.
2001-11-16Fringe cleanup.Kim F. Storm
Use renamed symbols.
2001-10-24Don't define max.Pavel Janík
2001-06-27(EmacsFrameSetCharSize): Turn off atimers and blockGerd Moellmann
SIGIO around the code where Xt might wait for a ConfigureNotifyEvent. (toplevel): Include <signal.h> and syssignal.h.
2001-06-25(EmacsFrameSetCharSize): Set XtNwaitForWm dependingGerd Moellmann
on the value of the wait-for-wm frame parameter.
2001-05-12Include keyboard.h before frame.h.Eli Zaretskii
2001-03-13(EmacsFrameSetCharSize): Comment update.Gerd Moellmann
2001-01-02(EmacsFrameSetCharSize): Remove unused variables `ac'Eli Zaretskii
and al[].
2000-12-07(EmacsFrameDestroy): Call x_free_gcs instead ofGerd Moellmann
freeing GCs here.
2000-08-03(set_frame_size, update_wm_hints, EmacsFrameSetValues):Gerd Moellmann
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 *).
2000-06-22(EmacsFrameRealize): Fix typo.Gerd Moellmann
2000-06-22(EmacsFrameRealize): Remove SubstructureRedirectMask.Gerd Moellmann
2000-01-17(EmacsFrameSetCharSize): Change size of children firstGerd Moellmann
because of problems with main window geometry management under Lesstif.
1999-09-15(set_frame_size, EmacsFrameSetCharSize): RemoveGerd Moellmann
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.
1999-08-30(set_frame_size): Set flags_area_extra toGerd Moellmann
FRAME_FLAGS_AREA_WIDTH instead of 2 * that width. (EmacsFrameSetCharSize): Ditto.
1999-08-21Call change_frame_size and do_pending_window_change withGerd Moellmann
new parameter.
1999-08-02(EmacsFrameSetCharSize): Don't call do_pending_window_change here.Richard M. Stallman
1999-07-26(EmacsFrameSetCharSize): Don't add XtNborderWidthGerd Moellmann
value to frame width and height.
1999-07-21(EmacsFrameSetCharSize): Take widget's border widthGerd Moellmann
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.
1998-04-14Fix -Wimplicit warnings.Andreas Schwab
1997-03-17Fix typo in comment.Karl Heuer
1996-10-31(EmacsFrameResize): Use cancel_mouse_face.Richard M. Stallman
1996-09-27(widget_store_internal_border): New function.Richard M. Stallman
(EmacsFrameSetValues): Undo previous change.
1996-09-23(EmacsFrameSetValues): Copy internal_border_widthRichard M. Stallman
from the Emacs frame if caller isn't changing it.
1996-08-05(EmacsFrameSetCharSize): Call do_pending_window_change.Richard M. Stallman
1996-04-18(EmacsFrameRealize): Use STANDARD_EVENT_SET.Richard M. Stallman
1996-03-28(EmacsFrameResize): We may be called from an interrupt,Richard M. Stallman
so delay the resize operation.
1996-03-17(update_from_various_frame_slots)Richard M. Stallman
(update_various_frame_slots): Take account of menubar_height.
1996-03-06(pixel_to_char_size): Cast args to int.Richard M. Stallman
1996-02-21Comment censored.Karl Heuer
1996-01-15Update FSF's address in the preamble.Erik Naggum
1996-01-05Comment fixes.Karl Heuer
1995-07-26Do renamings:Karl Heuer
frame->display => frame->output, struct x_display -> struct x_output.
1995-06-11(EmacsFrameSetCharSize): Manually alter the heightKarl Heuer
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.
1995-06-01(EmacsFrameDestroy): Block and unblock input.Karl Heuer
1995-05-24(create_frame_gcs, setup_frame_gcs): Reformat long statements.Karl Heuer
1995-05-23(create_frame_gcs): Cast args of XCreateGC.Karl Heuer
(setup_frame_gcs): Cast args of XCreatePixmapFromBitmapData.