diff options
| author | bfredl <bjorn.linse@gmail.com> | 2024-03-08 09:15:21 +0100 |
|---|---|---|
| committer | bfredl <bjorn.linse@gmail.com> | 2024-03-08 09:23:28 +0100 |
| commit | e534ec47db4bf5e110c828ca3d875f5685dcfdde (patch) | |
| tree | 9ff3b9bc8e98e9ed356fdc08fa91ec2529328d8c /src/nvim/ui_compositor.c | |
| parent | 55c9e2c96e28059a5102e2551b16b4fa4592723b (diff) | |
| download | rneovim-e534ec47db4bf5e110c828ca3d875f5685dcfdde.tar.gz rneovim-e534ec47db4bf5e110c828ca3d875f5685dcfdde.tar.bz2 rneovim-e534ec47db4bf5e110c828ca3d875f5685dcfdde.zip | |
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".
Diffstat (limited to 'src/nvim/ui_compositor.c')
| -rw-r--r-- | src/nvim/ui_compositor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ui_compositor.c b/src/nvim/ui_compositor.c index 85e7d63e11..6e89894e0b 100644 --- a/src/nvim/ui_compositor.c +++ b/src/nvim/ui_compositor.c @@ -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) { |