From b78be5bd08436d5051cab96205328cd2aae21788 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 11 Sep 2019 15:39:23 -0700 Subject: 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. --- src/nvim/msgpack_rpc/channel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/nvim/msgpack_rpc') 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 { -- cgit