diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-05-01 11:27:27 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-05-01 13:37:49 +0200 |
commit | c5268bc5f9df20ae3de45776cee68e66035bd885 (patch) | |
tree | 26982042b2a29feedffcb8fc1c18e22dcb653243 /src/gui/gui-line.c | |
parent | c47e4fa8830e15094d796ae22fdc9343836e3cff (diff) | |
download | weechat-c5268bc5f9df20ae3de45776cee68e66035bd885.zip |
core: send signal "buffer_line_added" on buffers with free content (issue #2066)
The signal "buffer_line_added" is now sent for every line added or modified on
a buffer with free content.
Diffstat (limited to 'src/gui/gui-line.c')
-rw-r--r-- | src/gui/gui-line.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/gui-line.c b/src/gui/gui-line.c index cc15da88e..1ade89191 100644 --- a/src/gui/gui-line.c +++ b/src/gui/gui-line.c @@ -2049,6 +2049,10 @@ gui_line_add_y (struct t_gui_line *line) ptr_line->data->refresh_needed = 1; gui_buffer_ask_chat_refresh (ptr_line->data->buffer, 1); + + (void) gui_buffer_send_signal (ptr_line->data->buffer, + "buffer_line_added", + WEECHAT_HOOK_SIGNAL_POINTER, ptr_line); } /* |