diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-12-18 23:12:58 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-12-18 23:12:58 +0000 |
| commit | 1c8ee78d1a0abff5df3f771215786ede4613ccb9 (patch) | |
| tree | 52e1f7745d2bf29ba584325a3055d3530d0c88fd /src/buffer.cc | |
| parent | abe3856d2937f80c169a382d5ea76dda4f405884 (diff) | |
Do not register timers for transient input handlers
Diffstat (limited to 'src/buffer.cc')
| -rw-r--r-- | src/buffer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.cc b/src/buffer.cc index 9bc6c6a6..cddf58c7 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -533,7 +533,7 @@ void Buffer::on_option_changed(const Option& option) void Buffer::run_hook_in_own_context(const String& hook_name, StringView param) { - InputHandler hook_handler({ *this, Selection{} }); + InputHandler hook_handler({ *this, Selection{} }, Context::Flags::Transient); hooks().run_hook(hook_name, param, hook_handler.context()); } |
