mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 07:11:34 -08:00
* xfns.c (Fx_create_frame): internal-border-width default to 0 for Gtk.
* gtkutil.c (xg_create_frame_widgets): Don't set internal_border_width.
This commit is contained in:
parent
813c812568
commit
a099c27aa3
3 changed files with 14 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2008-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* xfns.c (Fx_create_frame): internal-border-width default to 0 for Gtk.
|
||||
* gtkutil.c (xg_create_frame_widgets): Don't set internal_border_width.
|
||||
|
||||
2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* xdisp.c (syms_of_xdisp): Default underline-minimum-offset to 1.
|
||||
|
|
|
|||
|
|
@ -909,8 +909,10 @@ xg_create_frame_widgets (f)
|
|||
gtk_widget_modify_style (wfixed, style);
|
||||
|
||||
/* GTK does not set any border, and they look bad with GTK. */
|
||||
/* That they look bad is no excuse for imposing this here. --Stef
|
||||
It should be done by providing the proper default in Fx_create_Frame.
|
||||
f->border_width = 0;
|
||||
f->internal_border_width = 0;
|
||||
f->internal_border_width = 0; */
|
||||
|
||||
UNBLOCK_INPUT;
|
||||
|
||||
|
|
|
|||
|
|
@ -3313,7 +3313,12 @@ This function is an internal primitive--use `make-frame' instead. */)
|
|||
parms = Fcons (Fcons (Qinternal_border_width, value),
|
||||
parms);
|
||||
}
|
||||
x_default_parameter (f, parms, Qinternal_border_width, make_number (1),
|
||||
x_default_parameter (f, parms, Qinternal_border_width,
|
||||
#ifdef USE_GTK /* We used to impose 0 in xg_create_frame_widgets. */
|
||||
make_number (0),
|
||||
#else
|
||||
make_number (1),
|
||||
#endif
|
||||
"internalBorderWidth", "internalBorderWidth",
|
||||
RES_TYPE_NUMBER);
|
||||
x_default_parameter (f, parms, Qvertical_scroll_bars, Qleft,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue