mirror of
https://github.com/neovim/neovim.git
synced 2025-10-14 05:46:12 +00:00
refactor(api): redundant w_pos_changed assignment #35663
Problem: w_pos_changed flag was being set redundantly after win_config_float call Solution: remove duplicate assignment since win_config_float already sets this flag internally
This commit is contained in:
@@ -633,7 +633,6 @@ restore_curwin:
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
win_config_float(win, fconfig);
|
win_config_float(win, fconfig);
|
||||||
win->w_pos_changed = true;
|
|
||||||
}
|
}
|
||||||
if (HAS_KEY_X(config, style)) {
|
if (HAS_KEY_X(config, style)) {
|
||||||
if (fconfig.style == kWinStyleMinimal) {
|
if (fconfig.style == kWinStyleMinimal) {
|
||||||
|
Reference in New Issue
Block a user