changeset 7264:a701bffa0f9d

(x_calc_absolute_position): Use size_hint_flags. New FLAGS arg deleted. Callers changed.
author Richard M. Stallman <rms@gnu.org>
date Mon, 02 May 1994 00:46:44 +0000
parents b7025b4bf659
children bca3fe63efec
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon May 02 00:45:44 1994 +0000
+++ b/src/xterm.c	Mon May 02 00:46:44 1994 +0000
@@ -5106,13 +5106,13 @@
 }
 #endif /* ! defined (HAVE_X11) */
 
-x_calc_absolute_position (f, flags)
+x_calc_absolute_position (f)
      struct frame *f;
-     int flags;
 {
 #ifdef HAVE_X11
   Window win, child;
   int win_x = 0, win_y = 0;
+  int flags = f->display.x->size_hint_flags;
 
   /* Find the position of the outside upper-left corner of
      the inner window, with respect to the outer window.  */
@@ -5169,7 +5169,7 @@
 {
   f->display.x->top_pos = yoff;
   f->display.x->left_pos = xoff;
-  x_calc_absolute_position (f, 0);
+  x_calc_absolute_position (f);
 
   BLOCK_INPUT;
 #ifdef USE_X_TOOLKIT