Commit graph

70 commits

Author SHA1 Message Date
Jan Djärv
5fc1c5463c * widget.c (EmacsFrameDestroy): Don't abort if normal_gc is 0. 2004-07-21 19:18:29 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Kim F. Storm
90022f5a3e Make (few) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
2003-05-24 22:07:03 +00:00
Kim F. Storm
055d3c98b7 Use generic compute_fringe_widths. 2003-03-12 12:12:26 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Richard M. Stallman
5b48fe6556 Comment change. 2002-04-19 00:11:58 +00:00
Richard M. Stallman
de70f8b64d (set_frame_size): Don't call change_frame_size. 2002-03-30 23:48:04 +00:00
Kim F. Storm
2d9bd0e7ca (set_frame_size): Use x_compute_fringe_widths.
(EmacsFrameSetCharSize): Ditto.
2001-12-01 01:24:00 +00:00
Kim F. Storm
a0a1947c5a Fringe cleanup.
Use renamed symbols.
2001-11-16 13:18:38 +00:00
Pavel Janík
a8818eb978 Don't define max. 2001-10-24 06:32:53 +00:00
Gerd Moellmann
a5d3ec3f49 (EmacsFrameSetCharSize): Turn off atimers and block
SIGIO around the code where Xt might wait for a
ConfigureNotifyEvent.
(toplevel): Include <signal.h> and syssignal.h.
2001-06-27 17:16:23 +00:00
Gerd Moellmann
cbec8c518d (EmacsFrameSetCharSize): Set XtNwaitForWm depending
on the value of the wait-for-wm frame parameter.
2001-06-25 15:36:53 +00:00
Eli Zaretskii
87a43646b6 Include keyboard.h before frame.h. 2001-05-12 09:52:18 +00:00
Gerd Moellmann
6e7e15f2f1 (EmacsFrameSetCharSize): Comment update. 2001-03-13 12:51:25 +00:00
Eli Zaretskii
3c3bf422a5 (EmacsFrameSetCharSize): Remove unused variables `ac'
and al[].
2001-01-02 13:57:46 +00:00
Gerd Moellmann
0dea0fed5c (EmacsFrameDestroy): Call x_free_gcs instead of
freeing GCs here.
2000-12-07 11:43:22 +00:00
Gerd Moellmann
c52e7aa6e2 (set_frame_size, update_wm_hints, EmacsFrameSetValues):
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-08-03 20:22:34 +00:00
Gerd Moellmann
2fce2bb4b9 (EmacsFrameRealize): Fix typo. 2000-06-22 20:50:00 +00:00
Gerd Moellmann
486a103deb (EmacsFrameRealize): Remove SubstructureRedirectMask. 2000-06-22 20:12:59 +00:00
Gerd Moellmann
47d09164e9 (EmacsFrameSetCharSize): Change size of children first
because of problems with main window geometry management under
Lesstif.
2000-01-17 09:13:51 +00:00
Gerd Moellmann
ccce60568f (set_frame_size, EmacsFrameSetCharSize): Remove
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-09-15 12:58:42 +00:00
Gerd Moellmann
9aa9574988 (set_frame_size): Set flags_area_extra to
FRAME_FLAGS_AREA_WIDTH instead of 2 * that width.
(EmacsFrameSetCharSize): Ditto.
1999-08-30 23:14:26 +00:00
Gerd Moellmann
2b6538062c Call change_frame_size and do_pending_window_change with
new parameter.
1999-08-21 19:30:35 +00:00
Richard M. Stallman
79e03a85f9 (EmacsFrameSetCharSize): Don't call do_pending_window_change here. 1999-08-02 00:01:05 +00:00
Gerd Moellmann
203ae5607e (EmacsFrameSetCharSize): Don't add XtNborderWidth
value to frame width and height.
1999-07-26 21:22:23 +00:00
Gerd Moellmann
f403d3c379 (EmacsFrameSetCharSize): Take widget's border width
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.
1999-07-21 21:43:52 +00:00
Andreas Schwab
dfcf069d56 Fix -Wimplicit warnings. 1998-04-14 12:25:56 +00:00
Karl Heuer
2dd5c7f71a Fix typo in comment. 1997-03-17 09:37:32 +00:00
Richard M. Stallman
49feb47da5 (EmacsFrameResize): Use cancel_mouse_face. 1996-10-31 22:06:32 +00:00
Richard M. Stallman
d793b10560 (widget_store_internal_border): New function.
(EmacsFrameSetValues): Undo previous change.
1996-09-27 06:52:45 +00:00
Richard M. Stallman
de42d728f6 (EmacsFrameSetValues): Copy internal_border_width
from the Emacs frame if caller isn't changing it.
1996-09-23 04:40:39 +00:00
Richard M. Stallman
fbf6bf47f0 (EmacsFrameSetCharSize): Call do_pending_window_change. 1996-08-05 19:46:39 +00:00
Richard M. Stallman
1976080b3b (EmacsFrameRealize): Use STANDARD_EVENT_SET. 1996-04-18 04:13:19 +00:00
Richard M. Stallman
231108d096 (EmacsFrameResize): We may be called from an interrupt,
so delay the resize operation.
1996-03-28 19:56:02 +00:00
Richard M. Stallman
846dd8ae73 (update_from_various_frame_slots)
(update_various_frame_slots): Take account of menubar_height.
1996-03-17 18:09:05 +00:00
Richard M. Stallman
f8eeed5b18 (pixel_to_char_size): Cast args to int. 1996-03-06 06:22:06 +00:00
Karl Heuer
ac26ca64fe Comment censored. 1996-02-21 21:15:07 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Karl Heuer
8e6208c5d2 Comment fixes. 1996-01-05 10:03:17 +00:00
Karl Heuer
54e9e9537a Do renamings:
frame->display => frame->output, struct x_display -> struct x_output.
1995-07-26 00:04:12 +00:00
Karl Heuer
cfcd12d675 (EmacsFrameSetCharSize): Manually alter the height
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-11 20:26:47 +00:00
Karl Heuer
49fe12a91d (EmacsFrameDestroy): Block and unblock input. 1995-06-01 23:37:20 +00:00
Karl Heuer
85e5332713 (create_frame_gcs, setup_frame_gcs): Reformat long statements. 1995-05-24 03:58:29 +00:00
Karl Heuer
7f18598b5f (create_frame_gcs): Cast args of XCreateGC.
(setup_frame_gcs): Cast args of XCreatePixmapFromBitmapData.
1995-05-23 03:04:03 +00:00
Richard M. Stallman
38971c4157 (set_frame_size): Set app_shell and wmshell the same. 1994-10-26 12:57:46 +00:00
Paul Reilly
69524b98c0 (EmacsFrameSetCharSize): Use lw_refigure_widget() for widget set
independence.
1994-10-02 13:13:17 +00:00
Karl Heuer
02a162bf16 (set_frame_size, EmacsFrameSetCharSize): Use new width formula. 1994-09-28 00:58:15 +00:00
Karl Heuer
cb64230416 (set_frame_size, EmacsFrameSetCharSize): Change
VERTICAL_SCROLL_BAR_PIXEL_WIDTH to FRAME_SCROLL_BAR_PIXEL_WIDTH.
1994-09-20 05:15:25 +00:00
Richard M. Stallman
db18af03cf (EmacsFrameSetCharSize): Delete the code to make rows at least 3. 1994-07-19 22:16:18 +00:00
Richard M. Stallman
565620a54d Put stdio.h after config.h. 1994-06-15 03:54:06 +00:00