Commit 8014cc03 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(x_wm_set_size_hint): New args spec_x and spec_y.

Set the window gravity.  All callers changed.
parent d0690d12
......@@ -1718,7 +1718,7 @@ be shared by the new frame.")
{
#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 @@ be shared by the new frame.")
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment