view pixmaps/tb_close.xpm @ 29912:c9ff1715f03d v9.0.0294

patch 9.0.0294: crash when 'cmdheight' is 0 and popup_clear() used Commit: https://github.com/vim/vim/commit/43568648dfefe5796dc3fe8fe711135eb20d9eb6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 28 13:02:45 2022 +0100 patch 9.0.0294: crash when 'cmdheight' is 0 and popup_clear() used Problem: Crash when 'cmdheight' is 0 and popup_clear() used. Solution: Reset "message_win" when the message popup is cleared. Close the popup when 'cmdheight' is non-zero. Add a screendump test.
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Aug 2022 14:15:03 +0200
parents 3fc0f57ecb91
children
line wrap: on
line source

/* XPM */
static char * tb_close_xpm[] = {
/* width height ncolors cpp [x_hot y_hot] */
"18 18 7 1 0 0",
/* colors */
" 	s none	m none	c none",
".	c #880000	m black",
"X	s iconColor1	m black	c #000000",
"o	s iconColor3	m black	c #FF0000",
"O	s topShadowColor	m none	c #DCDEE5",
"+	s iconColor2	m none	c #FFFFFF",
"@	s bottomShadowColor	m black	c #5D6069",
/* pixels */
"                  ",
"  ..XXXXXXXXX.    ",
" .oo.OOOOOOO.o.   ",
"  .oo.O+OOO.oo.   ",
"   .oo.OOO.oo.@   ",
"   X.oo.O.oo.X@   ",
"   XO.oo.oo.+X@   ",
"   XOO.ooo.O+X@   ",
"   XOO.ooo.O+X@   ",
"   XO.oo.oo.+X@   ",
"   X.oo.O.oo.X@   ",
"   .oo.OOO.oo.@   ",
"  .oo.OOOOO.oo.   ",
" .oo.OOOOOOO.oo.  ",
"  ..+++++++++.o.  ",
"   XXXXXXXXXXX.   ",
"      @@@@@@@@@   ",
"                  "};