diff options
author | nicm <nicm> | 2020-04-13 13:42:35 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-13 13:42:35 +0000 |
commit | 77d5b0cc538138fd036dca0f9b2ba198a94c009d (patch) | |
tree | d45462362e56f236d72f3dec9a470ce97b6f3c4a /format.c | |
parent | 53d6b94e8aef09c0494ed8a53191063b605b3127 (diff) | |
download | rtmux-77d5b0cc538138fd036dca0f9b2ba198a94c009d.tar.gz rtmux-77d5b0cc538138fd036dca0f9b2ba198a94c009d.tar.bz2 rtmux-77d5b0cc538138fd036dca0f9b2ba198a94c009d.zip |
Store a key event not a mouse event in the shared data.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1133,7 +1133,7 @@ format_create_add_item(struct format_tree *ft, struct cmdq_item *item) if (shared == NULL) return; - m = &shared->mouse; + m = &shared->event.m; if (m->valid && ((wp = cmd_mouse_pane(m, NULL, NULL)) != NULL)) { format_add(ft, "mouse_pane", "%%%u", wp->id); if (cmd_mouse_at(wp, m, &x, &y, 0) == 0) { |