From a39c62a9c99df57fa5abe06409bd73270a1d4ebb Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Mon, 2 Jan 2023 22:07:58 +0100 Subject: [PATCH] * oldXMenu/Internal.c (_XMTransToOrigin): Don't move to the first selection. --- oldXMenu/Internal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oldXMenu/Internal.c b/oldXMenu/Internal.c index cf4960cd113..65b61602fd2 100644 --- a/oldXMenu/Internal.c +++ b/oldXMenu/Internal.c @@ -853,10 +853,10 @@ _XMTransToOrigin(Display *display, register XMenu *menu, register XMPane *p_ptr, l_orig_y = y_pos - (menu->s_height >> 1); /* - * Then translate to the upper left of the current pane window. + * Then translate to the upper left of the current pane + * window. Do not move y to the first selection. */ l_orig_x -= (s_ptr->window_x + menu->p_bdr_width); - l_orig_y -= (s_ptr->window_y + menu->p_bdr_width); } /* -- 2.39.0