mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
refactor(ui): remove outdated UI vs UIData distinction
Just some basic spring cleaning. In the distant past, not all UI:s where remote UI:s. They still aren't, but both of the "UI" and "UIData" structs are now only for remote UI:s. Thus join them as "RemoteUI".
This commit is contained in:
@@ -79,13 +79,13 @@ void ui_comp_syn_init(void)
|
||||
dbghl_recompose = syn_check_group(S_LEN("RedrawDebugRecompose"));
|
||||
}
|
||||
|
||||
void ui_comp_attach(UI *ui)
|
||||
void ui_comp_attach(RemoteUI *ui)
|
||||
{
|
||||
composed_uis++;
|
||||
ui->composed = true;
|
||||
}
|
||||
|
||||
void ui_comp_detach(UI *ui)
|
||||
void ui_comp_detach(RemoteUI *ui)
|
||||
{
|
||||
composed_uis--;
|
||||
if (composed_uis == 0) {
|
||||
|
Reference in New Issue
Block a user