summaryrefslogtreecommitdiff
path: root/src/window.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-05-13 17:59:01 +1000
committerMaxime Coste <mawww@kakoune.org>2018-05-14 08:23:00 +1000
commit75eb293f986f5674041159c714e1fffbe773b04b (patch)
tree9ac91714c9832b8da3ba8d25f01a515af03ac3cd /src/window.cc
parentb204e773d461233aa9b106d32d051333865b2d1b (diff)
Rename Context::Flags::Transient to Context::Flags::Draft
Draft is well establish and all draft context are transient.
Diffstat (limited to 'src/window.cc')
-rw-r--r--src/window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cc b/src/window.cc
index 599850ed..a57e7426 100644
--- a/src/window.cc
+++ b/src/window.cc
@@ -333,7 +333,7 @@ void Window::run_hook_in_own_context(StringView hook_name, StringView param,
return;
InputHandler hook_handler{{ *m_buffer, Selection{} },
- Context::Flags::Transient,
+ Context::Flags::Draft,
std::move(client_name)};
hook_handler.context().set_window(*this);
if (m_client)