From: nicm Date: Thu, 10 Jun 2021 07:22:06 +0000 (+0000) Subject: Fix display-menu -xR, from Alexis Hildebrandt. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7eff34ac3066d45b668c1e7eeccc2294f9426c4a;p=openbsd Fix display-menu -xR, from Alexis Hildebrandt. --- diff --git a/usr.bin/tmux/cmd-display-menu.c b/usr.bin/tmux/cmd-display-menu.c index 97a504762f2..aeaffbb45a5 100644 --- a/usr.bin/tmux/cmd-display-menu.c +++ b/usr.bin/tmux/cmd-display-menu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-display-menu.c,v 1.23 2021/03/02 10:56:45 nicm Exp $ */ +/* $OpenBSD: cmd-display-menu.c,v 1.24 2021/06/10 07:22:06 nicm Exp $ */ /* * Copyright (c) 2019 Nicholas Marriott @@ -206,7 +206,7 @@ cmd_display_menu_get_position(struct client *tc, struct cmdq_item *item, if (xp == NULL || strcmp(xp, "C") == 0) xp = "#{popup_centre_x}"; else if (strcmp(xp, "R") == 0) - xp = "#{popup_right}"; + xp = "#{popup_pane_right}"; else if (strcmp(xp, "P") == 0) xp = "#{popup_pane_left}"; else if (strcmp(xp, "M") == 0)