diff options
| author | Maxime Coste <mawww@kakoune.org> | 2024-09-16 07:39:21 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-09-16 07:39:21 +0100 |
| commit | 2e1e15106e4e16f8c4de43b87ec901f569a582cf (patch) | |
| tree | 0daa79f1b30fa500f25e581b065fd24ca8287aaa /src/client.cc | |
| parent | 88fa43988acc2389d92ead46a41ff8c7f0608c1a (diff) | |
Rename Window::display_position to display_coord
Diffstat (limited to 'src/client.cc')
| -rw-r--r-- | src/client.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cc b/src/client.cc index 0f1b8d5f..611216a7 100644 --- a/src/client.cc +++ b/src/client.cc @@ -256,7 +256,7 @@ void Client::redraw_ifn() if ((m_ui_pending & MenuShow) or update_menu_anchor) { auto anchor = m_menu.style == MenuStyle::Inline ? - window.display_position(m_menu.anchor) : DisplayCoord{}; + window.display_coord(m_menu.anchor) : DisplayCoord{}; if (not (m_ui_pending & MenuShow) and m_menu.ui_anchor != anchor) m_ui_pending |= anchor ? (MenuShow | MenuSelect) : MenuHide; m_menu.ui_anchor = anchor; @@ -276,7 +276,7 @@ void Client::redraw_ifn() if ((m_ui_pending & InfoShow) or update_info_anchor) { auto anchor = is_inline(m_info.style) ? - window.display_position(m_info.anchor) : DisplayCoord{}; + window.display_coord(m_info.anchor) : DisplayCoord{}; if (not (m_ui_pending & MenuShow) and m_info.ui_anchor != anchor) m_ui_pending |= anchor ? InfoShow : InfoHide; m_info.ui_anchor = anchor; |
