changeset 3108:461470daafaa

(x_figure_window_size): Make the default frame coords (0,0).
author Richard M. Stallman <rms@gnu.org>
date Wed, 26 May 1993 03:16:57 +0000
parents 6c0cce3bc5d5
children cd1bbe721cb5
files src/xfns.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Wed May 26 03:13:32 1993 +0000
+++ b/src/xfns.c	Wed May 26 03:16:57 1993 +0000
@@ -1357,8 +1357,10 @@
      window manager prompting. */
   f->width = DEFAULT_COLS;
   f->height = DEFAULT_ROWS;
-  f->display.x->top_pos = 1;
-  f->display.x->left_pos = 1;
+  /* Window managers expect that if program-specified
+     positions are not (0,0), they're intentional, not defaults.  */
+  f->display.x->top_pos = 0;
+  f->display.x->left_pos = 0;
 
   tem0 = x_get_arg (parms, Qheight, 0, 0, number);
   tem1 = x_get_arg (parms, Qwidth, 0, 0, number);