diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-10-06 10:38:05 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-10-06 10:38:05 +0200 |
commit | c3c767c164927a33fd460d2328628a08aba8b094 (patch) | |
tree | 543fdb73834253c411cb76175d8a2761e0fa980e /src/gui/curses | |
parent | bd39c8fa854bfbc95038f68bf8a7bdd4cb0e8c2f (diff) | |
download | weechat-c3c767c164927a33fd460d2328628a08aba8b094.zip |
Revert last commit about "buffer_switch" signal (introduced new refresh bugs on bars)
Diffstat (limited to 'src/gui/curses')
-rw-r--r-- | src/gui/curses/gui-curses-window.c | 9 |
1 files changed, 3 insertions, 6 deletions
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); } /* |