Mercurial > vim
view pixmaps/tb_maximize.xpm @ 26784:c95a3f25b6b1 v8.2.3920
patch 8.2.3920: restoring directory after using another window is inefficient
Commit: https://github.com/vim/vim/commit/90c317f2246a7fb4bd4e3feb0778b53627bc9fad
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 28 13:15:05 2021 +0000
patch 8.2.3920: restoring directory after using another window is inefficient
Problem: Restoring directory after using another window is inefficient.
Solution: Only restore the directory for win_execute(). Apply 'autochdir'
only when needed.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 28 Dec 2021 14:30:04 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_maximize_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 5 1 0 0", /* colors */ " s none m none c none", ". s topShadowColor m none c #DCDEE5", "X s iconColor1 m black c #000000", "o s iconColor2 m none c #FFFFFF", "O s bottomShadowColor m black c #5D6069", /* pixels */ " ", " .XXXXXXXXXXX ", " .X....X...oX ", " .X..oXXX..oXO ", " .X.oXXXXX.oXO ", " .X........oXO ", " .X........oXO ", " .X........oXO ", " .X........oXO ", " .X........oXO ", " .X........oXO ", " .X........oXO ", " .X..XXXXX.oXO ", " .X...XXX..oXO ", " .XooooXooooXO ", " .XXXXXXXXXXXO ", " OOOOOOOOOO ", " "};