# HG changeset patch # User Richard M. Stallman # Date 826389038 0 # Node ID 8bf3083f649991ce1ba73f71e61addab0c33d506 # Parent 47631a15d6a2a368cdd4f798649ae6b9a46a7053 (x_calc_absolute_position): Don't explicitly subtract the external menu bar height--PIXEL_HEIGHT (f) includes that. diff -r 47631a15d6a2 -r 8bf3083f6499 src/xterm.c --- a/src/xterm.c Sat Mar 09 08:48:56 1996 +0000 +++ b/src/xterm.c Sat Mar 09 16:30:38 1996 +0000 @@ -4990,11 +4990,11 @@ + 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,