mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
ui: support more cursor shape modes
throttle unneccessary cursor shape events
This commit is contained in:
@@ -249,9 +249,9 @@ static void ui_bridge_mouse_off_event(void **argv)
|
||||
ui->mouse_off(ui);
|
||||
}
|
||||
|
||||
static void ui_bridge_mode_change(UI *b, int mode)
|
||||
static void ui_bridge_mode_change(UI *b, int mode_idx)
|
||||
{
|
||||
UI_CALL(b, mode_change, 2, b, INT2PTR(mode));
|
||||
UI_CALL(b, mode_change, 2, b, INT2PTR(mode_idx));
|
||||
}
|
||||
static void ui_bridge_mode_change_event(void **argv)
|
||||
{
|
||||
|
Reference in New Issue
Block a user