1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 18:23:13 +02:00

core: add signal "window_switch"

This commit is contained in:
Sebastien Helleu
2012-01-28 17:18:15 +01:00
parent 3ecd3d7a26
commit 8ea2b93a28
7 changed files with 28 additions and 2 deletions
+3
View File
@@ -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);
}
/*