diff options
| author | Richard M. Stallman | 1994-05-02 00:46:44 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-02 00:46:44 +0000 |
| commit | 43bca5d597ecba79b80f78f43f5726ce39a9b882 (patch) | |
| tree | 9a74db09ebc1301a2fb8aba4000ea425e59dcf37 /src | |
| parent | 38d2204001d6da1337956c99d8548350632cdc3c (diff) | |
| download | emacs-43bca5d597ecba79b80f78f43f5726ce39a9b882.tar.gz emacs-43bca5d597ecba79b80f78f43f5726ce39a9b882.zip | |
(x_calc_absolute_position): Use size_hint_flags.
New FLAGS arg deleted. Callers changed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 6 |
1 files 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) | |||
| 5106 | } | 5106 | } |
| 5107 | #endif /* ! defined (HAVE_X11) */ | 5107 | #endif /* ! defined (HAVE_X11) */ |
| 5108 | 5108 | ||
| 5109 | x_calc_absolute_position (f, flags) | 5109 | x_calc_absolute_position (f) |
| 5110 | struct frame *f; | 5110 | struct frame *f; |
| 5111 | int flags; | ||
| 5112 | { | 5111 | { |
| 5113 | #ifdef HAVE_X11 | 5112 | #ifdef HAVE_X11 |
| 5114 | Window win, child; | 5113 | Window win, child; |
| 5115 | int win_x = 0, win_y = 0; | 5114 | int win_x = 0, win_y = 0; |
| 5115 | int flags = f->display.x->size_hint_flags; | ||
| 5116 | 5116 | ||
| 5117 | /* Find the position of the outside upper-left corner of | 5117 | /* Find the position of the outside upper-left corner of |
| 5118 | the inner window, with respect to the outer window. */ | 5118 | the inner window, with respect to the outer window. */ |
| @@ -5169,7 +5169,7 @@ x_set_offset (f, xoff, yoff, change_gravity) | |||
| 5169 | { | 5169 | { |
| 5170 | f->display.x->top_pos = yoff; | 5170 | f->display.x->top_pos = yoff; |
| 5171 | f->display.x->left_pos = xoff; | 5171 | f->display.x->left_pos = xoff; |
| 5172 | x_calc_absolute_position (f, 0); | 5172 | x_calc_absolute_position (f); |
| 5173 | 5173 | ||
| 5174 | BLOCK_INPUT; | 5174 | BLOCK_INPUT; |
| 5175 | #ifdef USE_X_TOOLKIT | 5175 | #ifdef USE_X_TOOLKIT |