summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-window.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-03-15 10:49:42 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-03-15 10:49:42 +0100
commitfe8d6793626895a1e2df1de0dfcdf483504fd665 (patch)
treeb4a0d8b64afe236d029052351e4bb35e9733d540 /src/gui/curses/gui-curses-window.c
parent08522770e8cbad5b9c057c8743b13169a986b1bb (diff)
downloadweechat-fe8d6793626895a1e2df1de0dfcdf483504fd665.zip
Fixed bugs with bars size and refresh
Diffstat (limited to 'src/gui/curses/gui-curses-window.c')
-rw-r--r--src/gui/curses/gui-curses-window.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c
index d2ab8720e..a23128f10 100644
--- a/src/gui/curses/gui-curses-window.c
+++ b/src/gui/curses/gui-curses-window.c
@@ -28,8 +28,10 @@
#include "../../core/weechat.h"
#include "../../core/wee-config.h"
+#include "../../core/wee-hook.h"
#include "../../core/wee-log.h"
#include "../../core/wee-string.h"
+#include "../../plugins/plugin.h"
#include "../gui-window.h"
#include "../gui-bar.h"
#include "../gui-buffer.h"
@@ -567,6 +569,9 @@ gui_window_switch_to_buffer (struct t_gui_window *window,
buffer->num_displayed++;
gui_hotlist_remove_buffer (buffer);
+
+ hook_signal_send ("buffer_switch",
+ WEECHAT_HOOK_SIGNAL_POINTER, buffer);
}
/*