summaryrefslogtreecommitdiff
path: root/src/window.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2023-08-27 07:23:39 +1000
committerMaxime Coste <mawww@kakoune.org>2023-08-27 08:03:42 +1000
commitfe93a9df37bdc28ff6580cf9ece8d18bbe2663cf (patch)
tree36e879ca26cc4f55f73695230e9d43268aafe298 /src/window.cc
parent6f9f32b4bb7603c308a3e245fef10ad48bf20719 (diff)
Remove Window::force_redraw()
This was mostly redundant with Client::force_redraw.
Diffstat (limited to 'src/window.cc')
-rw-r--r--src/window.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/window.cc b/src/window.cc
index 093a96ed..757723d2 100644
--- a/src/window.cc
+++ b/src/window.cc
@@ -324,8 +324,6 @@ void Window::clear_display_buffer()
void Window::on_option_changed(const Option& option)
{
run_hook_in_own_context(Hook::WinSetOption, format("{}={}", option.name(), option.get_desc_string()));
- // a highlighter might depend on the option, so we need to redraw
- force_redraw();
}