mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 06:18:16 +00:00
floats: z-index
This commit is contained in:
@@ -763,10 +763,13 @@ void ui_ext_win_position(win_T *wp)
|
||||
}
|
||||
api_clear_error(&dummy);
|
||||
}
|
||||
|
||||
wp->w_grid_alloc.zindex = wp->w_float_config.zindex;
|
||||
if (ui_has(kUIMultigrid)) {
|
||||
String anchor = cstr_to_string(float_anchor_str[c.anchor]);
|
||||
ui_call_win_float_pos(wp->w_grid_alloc.handle, wp->handle, anchor,
|
||||
grid->handle, row, col, c.focusable);
|
||||
grid->handle, row, col, c.focusable,
|
||||
wp->w_grid_alloc.zindex);
|
||||
} else {
|
||||
// TODO(bfredl): ideally, compositor should work like any multigrid UI
|
||||
// and use standard win_pos events.
|
||||
|
Reference in New Issue
Block a user