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/input_handler.cc | |
| parent | 2992d5bb0ba3c9d820cc3235527cf1714ee27e52 (diff) | |
Hide info/menu when they are anchored to an invisible buffer coord
Fixes #1444
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc index 8b91d1a4..65405057 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -41,7 +41,7 @@ public: virtual std::pair<CursorMode, DisplayCoord> get_cursor_info() const { - DisplayCoord coord = context().window().display_position(context().selections().main().cursor()); + DisplayCoord coord = *context().window().display_position(context().selections().main().cursor()); return {CursorMode::Buffer, coord}; } |
