diff options
Diffstat (limited to 'src/gui/curses/gui-curses-window.c')
-rw-r--r-- | src/gui/curses/gui-curses-window.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c index 60dea1bda..b708dc4dd 100644 --- a/src/gui/curses/gui-curses-window.c +++ b/src/gui/curses/gui-curses-window.c @@ -1178,6 +1178,9 @@ gui_window_switch (struct t_gui_window *window) old_window->refresh_needed = 1; gui_input_move_to_buffer (old_window->buffer, window->buffer); + + hook_signal_send ("window_switch", + WEECHAT_HOOK_SIGNAL_POINTER, gui_current_window); } /* |