aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-10-06 20:46:35 +0000
committerRichard M. Stallman1996-10-06 20:46:35 +0000
commitd3b064685692908505f16e2e382a531889b21859 (patch)
tree0e8861852181dc531a7df991a234a6dbf4441205 /src
parent927b5a55b83be7410793ac82313d6429a82db9a3 (diff)
downloademacs-d3b064685692908505f16e2e382a531889b21859.tar.gz
emacs-d3b064685692908505f16e2e382a531889b21859.zip
(x_set_internal_border_width): Only change
an edit_widget's internal_border_width for the toolkit case. (syms_of_xfns): For x-sensitive-text-pointer-shape, use DEFVAR_LISP.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xfns.c b/src/xfns.c
index d73c20c20c2..9395f6ce371 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1632,9 +1632,11 @@ x_set_internal_border_width (f, arg, oldval)
1632 if (f->output_data.x->internal_border_width < 0) 1632 if (f->output_data.x->internal_border_width < 0)
1633 f->output_data.x->internal_border_width = 0; 1633 f->output_data.x->internal_border_width = 0;
1634 1634
1635#ifdef USE_X_TOOLKIT
1635 if (f->output_data.x->edit_widget) 1636 if (f->output_data.x->edit_widget)
1636 widget_store_internal_border (f->output_data.x->edit_widget, 1637 widget_store_internal_border (f->output_data.x->edit_widget,
1637 f->output_data.x->internal_border_width); 1638 f->output_data.x->internal_border_width);
1639#endif
1638 1640
1639 if (f->output_data.x->internal_border_width == old) 1641 if (f->output_data.x->internal_border_width == old)
1640 return; 1642 return;
@@ -5154,7 +5156,7 @@ switches, if present.");
5154 Vx_resource_name = Qnil; 5156 Vx_resource_name = Qnil;
5155 5157
5156#if 0 /* This doesn't really do anything. */ 5158#if 0 /* This doesn't really do anything. */
5157 DEFVAR_INT ("x-nontext-pointer-shape", &Vx_nontext_pointer_shape, 5159 DEFVAR_LISP ("x-nontext-pointer-shape", &Vx_nontext_pointer_shape,
5158 "The shape of the pointer when not over text.\n\ 5160 "The shape of the pointer when not over text.\n\
5159This variable takes effect when you create a new frame\n\ 5161This variable takes effect when you create a new frame\n\
5160or when you set the mouse color."); 5162or when you set the mouse color.");
@@ -5162,14 +5164,14 @@ or when you set the mouse color.");
5162 Vx_nontext_pointer_shape = Qnil; 5164 Vx_nontext_pointer_shape = Qnil;
5163 5165
5164#if 0 /* This doesn't really do anything. */ 5166#if 0 /* This doesn't really do anything. */
5165 DEFVAR_INT ("x-mode-pointer-shape", &Vx_mode_pointer_shape, 5167 DEFVAR_LISP ("x-mode-pointer-shape", &Vx_mode_pointer_shape,
5166 "The shape of the pointer when over the mode line.\n\ 5168 "The shape of the pointer when over the mode line.\n\
5167This variable takes effect when you create a new frame\n\ 5169This variable takes effect when you create a new frame\n\
5168or when you set the mouse color."); 5170or when you set the mouse color.");
5169#endif 5171#endif
5170 Vx_mode_pointer_shape = Qnil; 5172 Vx_mode_pointer_shape = Qnil;
5171 5173
5172 DEFVAR_INT ("x-sensitive-text-pointer-shape", 5174 DEFVAR_LISP ("x-sensitive-text-pointer-shape",
5173 &Vx_sensitive_text_pointer_shape, 5175 &Vx_sensitive_text_pointer_shape,
5174 "The shape of the pointer when over mouse-sensitive text.\n\ 5176 "The shape of the pointer when over mouse-sensitive text.\n\
5175This variable takes effect when you create a new frame\n\ 5177This variable takes effect when you create a new frame\n\