diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-10-26 18:51:25 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-10-26 18:51:25 +0100 |
| commit | 90d499b94de727953c49556811f3c1a39930d494 (patch) | |
| tree | 1faf8777dfcff881b9a3bdea29b2cbde50cf7e12 /src/window.cc | |
| parent | 29ab42149cf0f5c9cb629878cb29417fd9f298cc (diff) | |
Add a WinClose hook
Diffstat (limited to 'src/window.cc')
| -rw-r--r-- | src/window.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.cc b/src/window.cc index 2fdec0f8..5bf9cede 100644 --- a/src/window.cc +++ b/src/window.cc @@ -36,6 +36,8 @@ Window::Window(Buffer& buffer) Window::~Window() { + Context hook_context{*this}; + m_hooks.run_hook("WinClose", buffer().name(), hook_context); m_options.unregister_watcher(*this); } |
