aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/msgpack_rpc
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-11 15:39:23 -0700
committerGitHub <noreply@github.com>2019-09-11 15:39:23 -0700
commitb78be5bd08436d5051cab96205328cd2aae21788 (patch)
tree3a9c1d9849a13d026d4f565d028ae6fb0f499401 /src/nvim/msgpack_rpc
parent7652904f79f6e434568e0b8e5946cfcafc9aa767 (diff)
downloadrneovim-b78be5bd08436d5051cab96205328cd2aae21788.tar.gz
rneovim-b78be5bd08436d5051cab96205328cd2aae21788.tar.bz2
rneovim-b78be5bd08436d5051cab96205328cd2aae21788.zip
rename: SplitEvent => MulticastEvent #10989
"Multicast" is perhaps a more conventional name for the concept. "One-shot" is the conventional name for how the event is (currently) scheduled.
Diffstat (limited to 'src/nvim/msgpack_rpc')
-rw-r--r--src/nvim/msgpack_rpc/channel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c
index 19f626c63b..0c874d7922 100644
--- a/src/nvim/msgpack_rpc/channel.c
+++ b/src/nvim/msgpack_rpc/channel.c
@@ -358,7 +358,8 @@ static void handle_request(Channel *channel, msgpack_object *request)
} else {
bool is_resize = handler.fn == handle_nvim_ui_try_resize;
if (is_resize) {
- Event ev = event_split(event_create(request_event, 1, evdata), 2);
+ Event ev = event_create_oneshot(event_create(request_event, 1, evdata),
+ 2);
multiqueue_put_event(channel->events, ev);
multiqueue_put_event(resize_events, ev);
} else {