diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-12-07 12:45:40 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-12-07 12:45:40 +0100 |
commit | c82633e9e48e8a9e68d277c68f2fae12c43b0d16 (patch) | |
tree | 7b96992277992bb391e39dd9fc5834f30f643a76 /src/gui/gui-buffer.c | |
parent | 4520b0f7aeb87b269d8590354def1681b68d4c0e (diff) | |
download | weechat-c82633e9e48e8a9e68d277c68f2fae12c43b0d16.zip |
core: use first gap for new buffer only if the buffer has no layout number
Diffstat (limited to 'src/gui/gui-buffer.c')
-rw-r--r-- | src/gui/gui-buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c index 0e28878d9..d3fbb33a3 100644 --- a/src/gui/gui-buffer.c +++ b/src/gui/gui-buffer.c @@ -392,6 +392,7 @@ gui_buffer_insert (struct t_gui_buffer *buffer) * (if there is not, buffer will be added to the end of list) */ if (!pos_buffer + && (buffer->layout_number == 0) && (CONFIG_INTEGER(config_look_buffer_position) == CONFIG_LOOK_BUFFER_POSITION_FIRST_GAP)) { for (ptr_buffer = gui_buffers; ptr_buffer; |