From d3b064685692908505f16e2e382a531889b21859 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 6 Oct 1996 20:46:35 +0000 Subject: [PATCH] (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. --- src/xfns.c | 8 +++++--- 1 file 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) if (f->output_data.x->internal_border_width < 0) f->output_data.x->internal_border_width = 0; +#ifdef USE_X_TOOLKIT if (f->output_data.x->edit_widget) widget_store_internal_border (f->output_data.x->edit_widget, f->output_data.x->internal_border_width); +#endif if (f->output_data.x->internal_border_width == old) return; @@ -5154,7 +5156,7 @@ switches, if present."); Vx_resource_name = Qnil; #if 0 /* This doesn't really do anything. */ - DEFVAR_INT ("x-nontext-pointer-shape", &Vx_nontext_pointer_shape, + DEFVAR_LISP ("x-nontext-pointer-shape", &Vx_nontext_pointer_shape, "The shape of the pointer when not over text.\n\ This variable takes effect when you create a new frame\n\ or when you set the mouse color."); @@ -5162,14 +5164,14 @@ or when you set the mouse color."); Vx_nontext_pointer_shape = Qnil; #if 0 /* This doesn't really do anything. */ - DEFVAR_INT ("x-mode-pointer-shape", &Vx_mode_pointer_shape, + DEFVAR_LISP ("x-mode-pointer-shape", &Vx_mode_pointer_shape, "The shape of the pointer when over the mode line.\n\ This variable takes effect when you create a new frame\n\ or when you set the mouse color."); #endif Vx_mode_pointer_shape = Qnil; - DEFVAR_INT ("x-sensitive-text-pointer-shape", + DEFVAR_LISP ("x-sensitive-text-pointer-shape", &Vx_sensitive_text_pointer_shape, "The shape of the pointer when over mouse-sensitive text.\n\ This variable takes effect when you create a new frame\n\ -- 2.39.5