diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-06-16 10:19:08 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-06-16 10:19:08 +0100 |
| commit | 42f03fb71f7e9200917a0dccfb09715ae8c0b5f3 (patch) | |
| tree | 5206b588e770c8ae26fe557492a91b002a20b77d /src/client.hh | |
| parent | 2992d5bb0ba3c9d820cc3235527cf1714ee27e52 (diff) | |
Hide info/menu when they are anchored to an invisible buffer coord
Fixes #1444
Diffstat (limited to 'src/client.hh')
| -rw-r--r-- | src/client.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.hh b/src/client.hh index 5b16a978..09329c6c 100644 --- a/src/client.hh +++ b/src/client.hh @@ -103,7 +103,7 @@ private: { Vector<DisplayLine> items; BufferCoord anchor; - DisplayCoord ui_anchor; + Optional<DisplayCoord> ui_anchor; MenuStyle style; int selected; } m_menu{}; @@ -113,7 +113,7 @@ private: String title; String content; BufferCoord anchor; - DisplayCoord ui_anchor; + Optional<DisplayCoord> ui_anchor; InfoStyle style; } m_info{}; |
