=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/popup.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- src/usr.bin/tmux/popup.c 2020/04/13 14:04:25 1.10 +++ src/usr.bin/tmux/popup.c 2020/04/13 14:46:04 1.11 @@ -1,4 +1,4 @@ -/* $OpenBSD: popup.c,v 1.10 2020/04/13 14:04:25 nicm Exp $ */ +/* $OpenBSD: popup.c,v 1.11 2020/04/13 14:46:04 nicm Exp $ */ /* * Copyright (c) 2020 Nicholas Marriott @@ -305,10 +305,10 @@ break; case CMD_PARSE_SUCCESS: if (pd->item != NULL) - m = &cmdq_get_state(pd->item)->event.m; + event = cmdq_get_event(pd->item); else - m = NULL; - new_item = cmdq_get_command(pr->cmdlist, fs, m, 0); + event = NULL; + new_item = cmdq_get_command(pr->cmdlist, fs, event, 0); cmd_list_free(pr->cmdlist); cmdq_append(c, new_item); break;