From 43bca5d597ecba79b80f78f43f5726ce39a9b882 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 2 May 1994 00:46:44 +0000 Subject: [PATCH] (x_calc_absolute_position): Use size_hint_flags. New FLAGS arg deleted. Callers changed. --- src/xterm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index 7dc369dfc82..303ba7a33d7 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -5106,13 +5106,13 @@ x_new_font (f, newname) } #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 @@ x_set_offset (f, xoff, yoff, change_gravity) { 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 -- 2.39.5