changeset 9580:bcc9342cf633

(x_set_unsplittable): New function. (x_frame_parms): Add that function to the table.
author Karl Heuer <kwzh@gnu.org>
date Tue, 18 Oct 1994 02:32:43 +0000
parents 2a5d9c96525f
children a035cc3716a1
files src/xfns.c
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Tue Oct 18 02:19:25 1994 +0000
+++ b/src/xfns.c	Tue Oct 18 02:32:43 1994 +0000
@@ -638,6 +638,7 @@
 void x_set_visibility ();
 void x_set_menu_bar_lines ();
 void x_set_scroll_bar_width ();
+void x_set_unsplittable ();
 
 static struct x_frame_parm_table x_frame_parms[] =
 {
@@ -658,6 +659,7 @@
   "visibility", x_set_visibility,
   "menu-bar-lines", x_set_menu_bar_lines,
   "scroll-bar-width", x_set_scroll_bar_width,
+  "unsplittable", x_set_unsplittable,
 };
 
 /* Attach the `x-frame-parameter' properties to
@@ -1618,6 +1620,14 @@
 }
 
 void
+x_set_unsplittable (f, arg, oldval)
+     struct frame *f;
+     Lisp_Object arg, oldval;
+{
+  f->no_split = !NILP (arg);
+}
+
+void
 x_set_vertical_scroll_bars (f, arg, oldval)
      struct frame *f;
      Lisp_Object arg, oldval;