changeset 4629:f7128c7ea732

(x_wm_set_size_hint): New args spec_x and spec_y. Set the window gravity. All callers changed.
author Richard M. Stallman <rms@gnu.org>
date Sat, 14 Aug 1993 10:59:10 +0000
parents e55cc9fdaa92
children 70247ce8b381
files src/xfns.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Sat Aug 14 10:32:54 1993 +0000
+++ b/src/xfns.c	Sat Aug 14 10:59:10 1993 +0000
@@ -1718,7 +1718,7 @@
 {
 #ifdef HAVE_X11
   struct frame *f;
-  Lisp_Object frame, tem;
+  Lisp_Object frame, tem, tem0, tem1;
   Lisp_Object name;
   int minibuffer_only = 0;
   long window_prompting = 0;
@@ -1861,8 +1861,10 @@
   x_default_parameter (f, parms, Qmenu_bar_lines, make_number (0),
 		       "menuBarLines", "MenuBarLines", number);
 
+  tem0 = x_get_arg (parms, Qtop, 0, 0, number);
+  tem1 = x_get_arg (parms, Qleft, 0, 0, number);
   BLOCK_INPUT;
-  x_wm_set_size_hint (f, window_prompting);
+  x_wm_set_size_hint (f, window_prompting, XINT (tem0), XINT (tem1));
   UNBLOCK_INPUT;
 
   tem = x_get_arg (parms, Qunsplittable, 0, 0, boolean);