diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-03-09 16:30:38 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-03-09 16:30:38 +0000 |
commit | fe588c5132524316ae1a0914324708d9d7e34259 (patch) | |
tree | b612777efd767e4397bbb8fe904b2e2ae119516a /src | |
parent | 57987b4374f9fc370a6b4e282ef76b252b0922cd (diff) | |
download | emacs-fe588c5132524316ae1a0914324708d9d7e34259.tar.gz |
(x_calc_absolute_position): Don't explicitly subtract
the external menu bar height--PIXEL_HEIGHT (f) includes that.
Diffstat (limited to 'src')
-rw-r--r-- | src/xterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 49b805bdb04..219a56ebec1 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -4990,11 +4990,11 @@ x_calc_absolute_position (f) + f->output_data.x->left_pos); if (flags & YNegative) + /* We used to subtract f->output_data.x->menubar_height here + in the toolkit case, but PIXEL_HEIGHT already includes that. */ f->output_data.x->top_pos = (FRAME_X_DISPLAY_INFO (f)->height - 2 * f->output_data.x->border_width - win_y - PIXEL_HEIGHT (f) - - (FRAME_EXTERNAL_MENU_BAR (f) - ? f->output_data.x->menubar_height : 0) + f->output_data.x->top_pos); /* The left_pos and top_pos are now relative to the top and left screen edges, |