From c3c767c164927a33fd460d2328628a08aba8b094 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 6 Oct 2010 10:38:05 +0200 Subject: Revert last commit about "buffer_switch" signal (introduced new refresh bugs on bars) --- src/gui/curses/gui-curses-window.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/gui') diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c index cbc0a5378..865d1c488 100644 --- a/src/gui/curses/gui-curses-window.c +++ b/src/gui/curses/gui-curses-window.c @@ -577,12 +577,9 @@ gui_window_switch_to_buffer (struct t_gui_window *window, } gui_input_move_to_buffer (old_buffer, window->buffer); - - if (old_buffer != window->buffer) - { - hook_signal_send ("buffer_switch", - WEECHAT_HOOK_SIGNAL_POINTER, buffer); - } + + hook_signal_send ("buffer_switch", + WEECHAT_HOOK_SIGNAL_POINTER, buffer); } /* -- cgit v1.2.3