annotate src/gui_gtk_res.xml @ 32826:7c4ad06d80ec v9.0.1726

patch 9.0.1726: incorrect heights in win_size_restore() Commit: https://github.com/vim/vim/commit/876f5fb570d8401aa4c58af4a5da91f10520aa9d Author: Sean Dewar <seandewar@users.noreply.github.com> Date: Thu Aug 17 22:40:05 2023 +0200 patch 9.0.1726: incorrect heights in win_size_restore() Problem: incorrect heights in win_size_restore() Solution: avoid restoring incorrect heights in win_size_restore() Changing 'showtabline' or 'cmdheight' in the cmdwin restores incorrect window heights after closing the cmdwin. This may produce a gap between the cmdline and the window above. Solution: restore window sizes only if the number of lines available for windows changed; subtract the rows of the tabline, cmdline and last window's statusline from 'lines' (other statuslines don't matter). closes: #12704 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
author Christian Brabandt <cb@256bit.org>
date Thu, 17 Aug 2023 22:45:06 +0200
parents e2fe7a67b3a4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7430
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 <gresources>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 <gresource prefix="/org/vim/gui/icon">
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 <file>stock_vim_build_tags.png</file>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 <file>stock_vim_find_help.png</file>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 <file>stock_vim_save_all.png</file>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 <file>stock_vim_session_load.png</file>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 <file>stock_vim_session_new.png</file>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 <file>stock_vim_session_save.png</file>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 <file>stock_vim_shell.png</file>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 <file>stock_vim_window_maximize.png</file>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 <file>stock_vim_window_maximize_width.png</file>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13 <file>stock_vim_window_minimize.png</file>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
14 <file>stock_vim_window_minimize_width.png</file>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
15 <file>stock_vim_window_split.png</file>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
16 <file>stock_vim_window_split_vertical.png</file>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
17 </gresource>
e2fe7a67b3a4 commit https://github.com/vim/vim/commit/39373819fd5fad825df416f1e2b96a6f43758e23
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
18 </gresources>