mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
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.
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user