Fix display-menu -xR, from Alexis Hildebrandt.

This commit is contained in:
Nicholas Marriott 2021-04-16 12:12:50 +01:00
parent 16b497e12b
commit 9865ad27a5

View File

@ -205,7 +205,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)