aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-26 03:16:57 +0000
committerRichard M. Stallman1993-05-26 03:16:57 +0000
commitbd0b85c32a17aa890c607d9192f46af1b2b5f0f9 (patch)
tree25d1ca26cdbc12256baf487d496bd7a01a7e4385 /src
parent8250185b1d2211e1eaf9d6c918b8c9b834e5231d (diff)
downloademacs-bd0b85c32a17aa890c607d9192f46af1b2b5f0f9.tar.gz
emacs-bd0b85c32a17aa890c607d9192f46af1b2b5f0f9.zip
(x_figure_window_size): Make the default frame coords (0,0).
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 93707bca6a9..1d08900079a 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1357,8 +1357,10 @@ x_figure_window_size (f, parms)
1357 window manager prompting. */ 1357 window manager prompting. */
1358 f->width = DEFAULT_COLS; 1358 f->width = DEFAULT_COLS;
1359 f->height = DEFAULT_ROWS; 1359 f->height = DEFAULT_ROWS;
1360 f->display.x->top_pos = 1; 1360 /* Window managers expect that if program-specified
1361 f->display.x->left_pos = 1; 1361 positions are not (0,0), they're intentional, not defaults. */
1362 f->display.x->top_pos = 0;
1363 f->display.x->left_pos = 0;
1362 1364
1363 tem0 = x_get_arg (parms, Qheight, 0, 0, number); 1365 tem0 = x_get_arg (parms, Qheight, 0, 0, number);
1364 tem1 = x_get_arg (parms, Qwidth, 0, 0, number); 1366 tem1 = x_get_arg (parms, Qwidth, 0, 0, number);